Post Reply 
Variables global to a program
12-22-2013, 02:22 AM
Post: #5
RE: Variables global to a program
Code:
EXPORT MyExpVar;
MyGlobVar;

MyIntFunc()
BEGIN
...
END;

EXPORT MYFunc()
BEGIN
LOCAL MyLocvar;
...
END;
MyExpVar is visible everywhere, in all functions of all programs, and Home and memory manager.
MyGlobVar is visible in all functions in this program
MylocVar is visible in this function of this program only.

Your program is responsible to initialize and clear all the variables it use.

Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Variables global to a program - Bob Frazee - 12-22-2013, 01:09 AM
RE: Variables global to a program - patrice - 12-22-2013 02:22 AM
RE: Variables global to a program - Han - 12-22-2013, 03:56 AM
RE: Variables global to a program - Han - 12-22-2013, 04:43 AM
RE: Variables global to a program - Han - 12-22-2013, 02:06 PM
RE: Variables global to a program - Snorre - 12-22-2013, 11:56 AM
RE: Variables global to a program - Han - 12-22-2013, 03:52 PM



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