qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LSET, RSET Statements
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Moves data into a random-access file buffer (in preparation for a PUT
 statement) and left- or right-justifies the value of a string variable; LSET
 also copies the contents of one record variable to another.
 
    LSET stringvariable$ = stringexpression$
    LSET recordvariable1 = recordvariable2
    RSET stringvariable$ = stringexpression$
 
    ■ stringvariable$      Any string variable or random-access file field
                           defined in a FIELD statement
 
    ■ stringexpression$    For RSET, the right-justified version of
                           stringvariable$; for LSET, the left-justified
                           version of stringvariable$
 
    ■ recordvariable1      Record variables of any user-defined data type;
      recordvariable2      use LSET to assign a record variable of one data
                           type to a different user-defined data type
 
 See Also
    FIELD Statement                  PUT Statement (File I/O)
    Random-Access File Variables