If checks

For builders to discuss and ask building questions.
Post Reply
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

If checks

Post by Mask » Sun Jul 08, 2007 2:26 pm

Hi there,

I also had difficulty understanding why a prog I had with:

Code: Select all

if class($n) == rogue
...
endif
Didn't work, and it is because these kinds of checks are case sensitive. I have re-written them to be case insensitive as I think this is a bit more builder-friendly.

I trust this doesn't break anything? I also found a few crash bugs when certain if checks aren't used with the correct number of arguments and fixed those too.
Post Reply