NAME
GetDbGlobal — Find and return value of entry in globals table.
SYNOPSIS
GetDbGlobal VarName ?Type?
DESCRIPTION
Return Value
The current value of the global variable.
Arguments
VarNameName of variable in globals table.
TypeOptional. Type of the variable to get: text, integer, real. Defaults to text.
More Info
As with set NoSuchVariable, this command will return an error if you try to access a variable that does not exist rather than create one for you (as, for instance, upvar does).

You may wish to take a look at the documentation about the XxxDbGlobal commands: About XxxGlobal.

Check About Configuration for Database Use for info about how to set up Gen for using database-related commands.


For information regarding exceptions / errors, see here.
EXAMPLES
% SetDbGlobal MyVar 123
123
% GetDbGlobal MyVar
123
SEE ALSO
DecrDbGlobal, IncrDbGlobal, SetDbGlobal, UnsetDbGlobal
KEYWORDS
sql