Author Topic: Missed logic during syntax check  (Read 9310 times)

0 Members and 1 Guest are viewing this topic.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Missed logic during syntax check
« on: February 26, 2009, 05:27:43 AM »
0
Not sure if SUO even does this or not.... had a line not executing in a script, found out why, but SUO missed it.

if %ss_bank_retries >=3

of course it should be

if %ss_bank_retries >= 3

When the space is put in, SUO 224 accurately shows the colors.

I have no idea if it's set up to check logic at that level, or syntax for expressions. I suppose that it might have problems then if a user wants to use the text =, <, or >.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Missed logic during syntax check
« Reply #1 on: February 26, 2009, 08:30:55 AM »
0
That's a good idea.  I believe the parser already errors out on that one, but I may not have actually assigned that to the error class.  There's a bunch of those errors I'm not pulling out yet.
Please read the ScriptUO site RULES
Come play RIFT with me!

Tags: