Jump to content

Script Issue


kazopert

Recommended Posts

Correct. I'm not sure if there is a limit to using && to add expressions to one IF condition; that limit is for nesting IF...ENDIF blocks inside each other.

The GECK will throw an error when compiling (assuming GECK-PU) if you nest them too deep.

 

It's also a lot more complex to convert a single IF to nested IFs when using || (OR) or a combination of || and &&, because you end up having to repeat some of them.

 

 

It's a mostly negligible performance difference, unless you perform multiple heavy or slow function calls to determine whether or not to run a block of code in a script that runs often (an object script, for example).

Edited by luthienanarion
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...