Skip to main content


Assigns an object reference to a variable or property.


Let objectvar = objectexpression 


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.


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

FeedbackOpens in a new tab