This function retrieves the origin code.

Syntax


Result = EOS_GD_ORIGININFO(gridID, origincode)

Return Value


Returns 0 if successful, and –1 otherwise. A return value of –1 could signify an improper grid id or entry code.

Arguments


gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

origincode

A named variable that will contain the origin code (long). See EOS_GD_DEFORIGIN for a list of origin codes and their meanings.

Keywords


None

Version History


5.2

Introduced