Post Reply 
Global variable
06-25-2017, 07:46 PM
Post: #2
RE: Global variable
(06-25-2017 06:56 PM)Powersoft Wrote:  How can I get the variable X in Plan13() as global for INITSAT() and
SATVEC().

Thanks for any help.

HOME Reserved variables (Upper case), such as 'X' are global, by default. (Note uppercase X is not declared as a Local variable...)

Example:

Code:

EXPORT temp()
BEGIN
  X:=PI;
END;

Now at the command entry line, type X and you will see that it contains PI as set in the program, and can be used globally.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Global variable - Powersoft - 06-25-2017, 06:56 PM
RE: Global variable - DrD - 06-25-2017 07:46 PM
RE: Global variable - toml_12953 - 06-26-2017, 12:27 PM
RE: Global variable - DrD - 06-26-2017, 11:48 AM
RE: Global variable - Han - 06-26-2017, 03:09 PM
RE: Global variable - DrD - 06-26-2017, 04:02 PM
RE: Global variable - Han - 06-26-2017, 08:29 PM
RE: Global variable - DrD - 06-26-2017, 09:04 PM
RE: Global variable - DrD - 06-27-2017, 11:32 AM



User(s) browsing this thread: 4 Guest(s)