GDL Reference Guide > Miscellaneous > Requests > LIBRARYGLOBAL

LIBRARYGLOBAL (object_name, parameter, value)
Fills value with the current model view option parameter value of the library global object defined by object_name if available. A library global setting is available if the global object is currently loaded in the library, or was loaded earlier and its setting was saved in the current model view option combination.
Returns 1 if successful, 0 otherwise.
object_name: name of library global object
parameter: name of requested parameter
value: filled with the requested parameter value
success = LIBRARYGLOBAL ("MyGlobalOptions", "detLevel2D", det)
if success > 0 then
text2 0, 0, det
text2 0, 0, "Not available"