LET (Assignment) Statement Details Syntax [LET] variable=expression Notice that the word LET is optional. The equal sign in the statement is enough to inform QuickBASIC 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 for assigning record variables of different user-defined types.