bas7advr.hlp (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.
LET Statement Details
  ◄Syntax►  ◄Details►  ◄Example►                 ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
LET assigns the value of an expression to a variable.
 
[LET] variable=expression
    ■ Use of the keyword LET is optional. The equal sign in the statement
      is enough to inform BASIC that the statement is an assignment
      statement.
    ■ LET statements can be used with record variables only when both
      variables are the same user-defined type. Use the LSET statement
      to assign record variables of different user-defined types.