Having trouble with errors on variables in MX 2004

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Having trouble with errors on variables in MX 2004
nightrenegade00
CZ Newbie
nightrenegade00 has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Jul 26, 2004
0.00 posts per day
Posts: 2
Points: 96
   
icon_mad.gif I am using if statements to check to see if a variable has a specific value. I keep getting errors because we arent putting a value and the variable in quotes. However when we put them in quotes they become treated as a string which is not what I want. I are wondering if I am using the proper syntax for the if statment or if anyone else has had this problem. Please reply your help is greatly needed and aprreciated.



Back to top Reply with quote
#2   re: Having trouble with errors on variables in MX 2004
redhot_2oo3
PayPal Donation
CZ Moderator
redhot_2oo3 has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Codezwiz Elf
Website:
Status: Offline
Joined: Aug 26, 2003
0.08 posts per day
Posts: 633
Points: 25,047
   
If you post your code here it may be helpful to diagnose the problem.




_________________
Back to top Reply with quote
#3   re: Having trouble with errors on variables in MX 2004
nightrenegade00
CZ Newbie
nightrenegade00 has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Jul 26, 2004
0.00 posts per day
Posts: 2
Points: 96
   
Sry to dissapoint you but i think i figured out the problem a couple minutes after this post. I realized that numbers cant start a variable ie. 92poscur which was changed to poscur92. I also saw that the set command makes the variables into strings. Im pretty sure this fixed the problem but if not I'll let you know. Thanks anyway



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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
You cannot attach files in this forum
You cannot download files in this forum