basic.seq Function/BASIC Program, seq Definition/General, seq Definition/General

basic.seq

Command basic.seq Function/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
Description converts any ASCII character to its corresponding numeric equivalent in the range 0 to 255.

This "seq" function is the opposite of the "char" function.

Any expression can be used as an argument, but all characters are ignored beyond position 1.

The "seq" of a null string ends up using the segment mark (x'ff') end-of-string delimiter as the argument resulting in a value of 255.
Syntax seq(ascii.character.expression)
Options
Example
input c,1
if seq(c)<32 then stop

This example stops when any control character is input.
Purpose
Related basic.char
basic.statements
basic.functions

seq

Command seq Definition/General
Applicable release versions: AP, R83
Category General (155)
Description alters the normal sort sequence of characters used by the "ms (mask alter sort)" processing code.

The "seq" item must be manually added to the "messages" file using the following suggested format for the item:

seq (item-id)
001 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFG
HIJKLMN OPQRSTUVWXYZ[]^_`abcdefghijklm
nopqrstuvwxyz{|}~
Syntax
Options
Example
Purpose
Related filename.messages
pc.ms
pc

seq

Command seq Definition/General
Applicable release versions: AP, R83
Category General (155)
Description alters the normal sort sequence of characters used by the "ms (mask alter sort)" processing code.

The "seq" item must be manually added to the "messages" file using the following suggested format for the item:

seq (item-id)
001 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFG
HIJKLMN OPQRSTUVWXYZ[]^_`abcdefghijklm
nopqrstuvwxyz{|}~
Syntax
Options
Example
Purpose
Related filename.messages
pc.ms
pc