ArcBasicDocs

Return

Returns from a Gosub or a function.

Return [value]

Parameters

None.

Description

Leaves a Function, giving back a value if one is given, or comes back from a Gosub. A function that ends without Return gives back 0, 0.0, an empty string or Null, depending on its type.

See also