22. Using 3GL Procedures : Get Global, Set Global
 
Share this page                  
Get Global, Set Global
Access global variables and constants
Syntax
exec 4gl get global variable (:var[:ind] = name)
exec 4gl set global variable (name = :var[:ind])
exec 4gl get global constant (:var[:ind] = name)
var
Specifies a 3GL variable
ind
Specifies a 3GL Null indicator variable
name
Specifies the name of the global variable or global constant being retrieved
Description
This allows 3GL to access 4GL global variables and constants, including structured data, which requires var as a handle.