qck.hlp (Table of Contents; Topic list)
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