Posted by Barbara Brazil on December 03, 2018 at 06:13:42:
In Reply to: Re: NOVA vs COMET32 posted by Barbara Brazil on November 30, 2018 at 14:22:09:
I neglected to answer your question about SetGlobal and GetGlobal for Comet16. Yes, they work. They were introduced way back in 2005:
"New SetGlobal and GetGlobal verbs have been added to IB. This introduces a type
of global memory that is specific to the partition. You can use it to store up to
8000 bytes of data, such as user identification information. The syntax is similar
to an I/O statement using a format to define the layout of the data:
SetGlobal (1,UserInfo) [,EXCP=9000]
The syntax for GetGlobal is the same. In the above example, UserInfo is a FORMAT
statement with a variable list. 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 and only GetGlobal will be allowed (you may
not "set" this information). For now, the only valid value for that first parameter
is 1. Possible exceptions generated by the call are:
E47 if the first parameter is invalid
E51 if GetGlobal is done before SetGlobal for user information"
The HELP system was written in 1993! I honestly can't remember all the details of how it works. I looked at the source for CMHELPB. Interesting, the last person to work on it was .... RGL! And that was in 1999. I don't see where Comet32 is specifically clearing HELPKEY$. When a program is run its current value is passed to the new program just like MESSAGE$ is. The source for CMHELPB is in XTL. We're certainly glad you found this system to be so useful. If we can find a solution to the COMMON problem hopefully it will remain so.
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.