Introduction | Language Structure | IB Statements | File System | Comet 32 Runtime | Index |
| Syntax: | GetGlobal (1, format-statement-label) [,EXCP=statement-label] |
| Discussion: |
The GetGlobal statement can be used to retrieve up to 8000 bytes of data, such as user identification information, which was set using SetGlobal. The syntax is similar
to an I/O statement using a format to define the layout of the data:
GetGlobal (1,UserInfo) [,EXCP=9000] UserInfo is a FORMAT statement with a variable list. The first parameter, the 1, indicates that this is user information. We have reserved 0 in its place for system information. In the future, we may use this to return PSTAT-like information. Possible exceptions generated by the call are:
E47 if the first parameter is invalid See also SetGlobal |
| Example: |
UserInfo: FORMAT Name$;Group$;Privileges$ . . GetGlobal (1,UserInfo), EXCP=9999 . . 9999 ... |