create/get/set an integer subobject to an object
int FLDset_long (
OMobj_id field,
const char *name,
xp_long val);
int FLDget_long (
OMobj_id field,
const char *name,
xp_ long *val);
These routines add a single, new integer subobject to an existing field data schema object, and then set/get its value. They could also be used when you want to construct and reference an entirely new data object and add single integer subobjects to it, but you want to do this within the code of a function, rather than using V.
Note: If you are accessing an existing, defined subobject, use the specific routine for that subobject (for example, FLDget_coord_extent). Use FLDadd/set/get_int only when you have created your own, unique, named subobject, or when no FLD routine exists for a pre-defined subobject.
FLDadd_int adds a single integer subobject to the object specified by OMobj_id field. The object is named in the Object Manager by the string name. The new subobject is flagged as "not set."
FLDset_int sets the integer object within field, named name, to val.
FLDget_int returns the value of the integer subobject name within field in val.
modules/pln_crop.c
modules/iso.c
modules/slice.c