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
Bromax
Wanderer


Joined: 03 Jan 2002
Posts: 66

PostPosted: Tue Mar 16, 2004 8:57 am   

#math problem
 
I want to add two amounts I have stored as variables say @a whick is 50 and @b which is 25 and get @c as the total...seems straight forward:

#MATH c (@a + @b)

Right?

Whan I type that in and click the OK check box it changes it to:

#VAR c {(@a + @b)}

and c= 50 + 25 instead of 75....what am I doing wrong?
Reply with quote
Cykops
Beginner


Joined: 07 Apr 2003
Posts: 20
Location: Sweden

PostPosted: Tue Mar 16, 2004 9:34 am   
 
#math c @a+@b
Reply with quote
Bromax
Wanderer


Joined: 03 Jan 2002
Posts: 66

PostPosted: Tue Mar 16, 2004 10:06 am   
 
Thanks...I figured out what I was doing wrong.
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