ObjGetOk checks if the last call of ObjGet was successful.
Return Value
bool is TRUE (1) if the function was successful, and FALSE (0) if and error occurred.
Comment
Note that the function is called without a handle.
Example
bGrid = LayerIsMajorGrid(hLayer);
if (bGrid == 0 && !ObjGetOK()) {
error ("error by call of LayerIsMajorGrid()");
}
See also
id-1272913