DataBasic Reference > Statements and Intrinsic Functions > L > LET Statement

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

LET Statement (DataBasic) (m618703+let_s.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

LET Statement

Assigns a value to a variable.

Syntax

{LET }variable = expression

Syntax Elements

variable is the name of the variable where the result of expression is to be stored.

expression is any valid DataBasic expression or any string, substring, or value; expressed as a variable name, a value, or a string enclosed in quotes.

Operation

expression is evaluated and the result is stored in variable.

The debugger displays a runtime error message if a variable is referenced before it has been assigned a value.

RealityV15.0Comment on this topic