Skip to main content
Previous sectionNext section

Let

Assigns an object reference to a variable or property.

Synopsis

Let objectvar = objectexpression 

Arguments

objectvar Name of the variable or property; follows standard variable-naming conventions.
objectexpression Expression consisting of the name of an object, another declared variable of the same object type, or a function or method that returns an object of the same object type.

Description

In Caché Basic, the Let statement is functionally identical to the Set statement. Refer to the Set statement for further details.