Subject: | |
From: | |
Reply To: | |
Date: | Wed, 15 Jun 2005 11:35:16 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Actually, the SETLVAR command sets 'local' variables
during the current invocation of the MPEX run.
To get more information about local MPEX variables, simply
run MPEX and type
HELP SETLVAR
Here's a snip from the online help in case you don't have MPEX
handy...
Local variables have three important properties:
* Unlike global variables, they are automatically deleted when the
command
file within which they were created terminates! (If you create a local
variable by typing "%SETLVAR" directly within MPEX instead of in a
command
file, the variable will last until you exit MPEX).
* Local variables created in one command file are not accessible within
any
other command file! (Local variables created "directly" within MPEX
do not
exist within any command file at all.)
* When both a local and a global variables exist with the same name, the
local variable will be used, e.g. the result of
%SETVAR MYVAR "global"
%SETLVAR MYVAR "local"
%ECHO the !MYVAR variable will be used.
is "the local variable will be used."
---------------------------------------------------------------------
Ken Robertson
Senior Consultant
Speedware
Division of Activant Solutions Inc.
6380 Cote de Liesse Rd., Suite 110
St. Laurent, Quebec
Canada H4T 1E3
T: 514.747.7007 ext. 8264
F: 514.747.3380
M: 514.918.7797
Web site: www.speedware.com
----------------------------------------------------------------------
If ignorance is bliss, then I should just stop reading the newspapers.
----------------------------------------------------------------------
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|