Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

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.

Feedback