The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 List of reserved variables

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Tom Blanpied Posted - 08/13/1998 : 12:08:00 PM
Hello all. I am looking for a list of all reserved or illegal variable names
for Labtalk. A colleague (who shall remain nameless) wrote a simple script
that contained the variables z0 and z1, since he did not realize that z1 was
reserved for something else. The Labtalk manual describes some system
variables, but z1 and z2 are not listed, prompting me to wonder if there are
more that might cause problems in the future.

On a related note, I have to admit that at times I enjoy the agony of
debugging my own code, but are there any plans for providing more
sophisticated debugging procedures for Labtalk?

Tom

1   L A T E S T    R E P L I E S    (Newest First)
Joe Przechocki Posted - 08/13/1998 : 12:10:00 PM
Additional System and Reserved Varialbes

In addition to the System Variables listed in section 2.9 of the LabTalk manual,
the following System and Reserved variables should be avoided in user-defined
scripts.

System Variables
----------------------------
i,j,k
x,y,z,t
X1,X2,X3,X4
Y1,Y2,Y3,Y4
Z1,X2,Z3,Z4
V0,V1,V2,V3,etc.

Operation Variables
----------------------------
xx,yy,zz,tt
ii,jj,kk
temp,e,tiny
beg,begin,start,startRow,
end,endRow,endRows,numRows

Notes:
----------------------------
'System Variables' have a specific meaning in Origin;
for example, X1, X2 define the endpoints of the x-axis.

'Operation Variables' are variables which are used in scripts called
by Origin during various operations. User-defined scripts may also use
these variables, but there is no guarentee that the variable will remain
un-changed if an Origin operation is performed (like Fit:Linear).

Joe


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000