AT&T 6300 Programmer's Manual page 349

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Syntax
stringvar
stringexp
Remarks
LSET and RSET
Statements
LSET stores a string value in a random buffer
field left justified, or left justifies a string
value in a string variable. RSET right justifies
the string value.
LSETstringvar= stringexp
RSETstringvar= striilgexp
represents either a regular or fielded string variable (i.e., a
string variable previously used in a FIELD statement).
represents the string to be left or right justified in a given
field.
If "stringexp" requires fewer bytes than were
FIELDed to "stringvar", LSET left-justifies
the string in the field, and RSET right-justifies
the string. (Spaces are used to pad the extra
positions.) If the string is too long for the field,
characters are dropped from the right.
Numeric values must be converted to strings
before they are LSET or RSET. See "MKI$,
MKS$, MKD$" in this chapter. See also
Chapter 4 for a complete description of
random files.
7-193

Advertisement

Table of Contents
loading

Table of Contents