View Single Post
  #3  
Unread 08-14-2011, 07:08 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

I don't think anyone outside of SoE could tell you that unless they benchmarked a huge number of iterations of such. Though I sort of wonder why you care.

Secondly, I couldn't tell you if it's the case for your example, but often the UI evaluates things right to left, but your assumption in your example assumes it checks the left side of the || first instead.

Thirdly, there are situations where you can and cannot have several evaluations on a single line. If you can get a multi-boolean evaluation to work there, good for you... but I never try to make it do complicated things because they just cause debugging headaches when it decides not to work.

There's some sort of operator thread stickied someplace... if you haven't found it in there, it probably doesn't exist. Trying to use random ones from other languages is probably futile. The UI scripting language isn't really based on any standard as much as it borrows random things.
Reply With Quote