NAME
SetDbGlobal — Finds an entry in the global table and sets it to a value.
SYNOPSIS
SetDbGlobal VarName ?Value?
DESCRIPTION
Return Value
The now current value of the database global.
Arguments
VarNameName of entry in global table.
ValueWhat to set variable to.
More Info
This behaves like Tcl set. This will create a new global if necessary. Also, this will return the current value if no set value is given.

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

Check this page 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, GetDbGlobal, IncrDbGlobal, UnsetDbGlobal
KEYWORDS
sql