GetObject

This function looks for an object on the global workspace with a given name and returns that object, if it exists.

Description

Return the object with a given name.

Type

OBJECT

Arguments

Type

Meaning

1

STRING

the name of the object for which to search.

Evaluation

The function returns the object with the given name, if it exists.

Comments

If no object with the given name exists on the global workspace, then the run is aborted with an error.

 
GetObject("Heron Reservoir")
 
%"Heron Reservoir"