Using references

To use a reference to access a resource, you must dereference the value contained in the reference field or variable. You do this by specifying the type of resource contained in the reference and enclosing the reference value in parentheses. The following example shows how to access the table using the reference created in the previous example.

copy to table('Main Table');

Notice that the table keyword indicates the type of resource the reference refers to. The reference field is enclosed in parentheses.

A reference must be valid when you use it to access to a resource. If it is not, results will be unpredictable. Dexterity doesn’t check the validity of a reference. You are responsible for keeping track of which references are valid.



Documentation Feedback