ScriptUO

Scripting Resources & Utilities => ScriptUO Application => Bug discussion => Topic started by: Cerveza on February 26, 2009, 05:27:43 AM

Title: Missed logic during syntax check
Post by: Cerveza on February 26, 2009, 05:27:43 AM
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 >.
Title: Re: Missed logic during syntax check
Post by: TrailMyx on February 26, 2009, 08:30:55 AM
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.