gb_func::gb__get_block - Get Initial Code Block from gb_def.cod File
Syntax
call "gb_func::gb__get_block",gb__event_id$,gb__code_block$,gb__code_file$,gb__err$"
Description
This routine retrieves an initial code block from the gb_def.cod file.
gb__event_id$ - single character identifying an event, optionally followed by an integer qualifier to be tested against gb__event.flags (e.g. 'f0'). Notify event codes will be formatted with the control type appended to the event code, like 'N1:20' or 'N3:107'.
Pass gb__code_file$ as a variable; do not manipulate it. It will be retained in memory between calls.
gb__code_block$ is returned as the default block of code for this event.
gb__err$ will be returned as non-null if there was a problem.