fgl_ws_getOption()

Returns the value of an option flag.

Note: This function is valid for backward compatibility, but is not a preferred way to handle Genero Web Services. See the com package for the preferred classes and methods for handling Web services.

Syntax

fgl_ws_getOption(
   optionName VARCHAR)
  RETURNS INTEGER
  1. optionName is one of the global option flags.

Example

DEFINE value INTEGER
LET value=fgl_ws_getOption("http_invoketimeout")

Possible runtime errors

  • -15511: INVALID_OPTION_NAME