Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
kibln8
Beginner


Joined: 05 Sep 2005
Posts: 11

PostPosted: Thu Oct 18, 2007 5:31 am   

temporary variable
 
is there a way i can use temporary variables for use with #math and such?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Oct 18, 2007 5:36 am   
 
Nope. It's possible in CMUD, but not zMUD. You could use a convention like starting your "temporary" variables with t_ or something.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Thu Oct 18, 2007 2:35 pm   
 
Well, after the variable is displayed, you can use #unvar to remove it. I use it for some of my scripts to reduce variable clutter.

Charneus
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net