mirror of
https://github.com/SphereServer/Source-X
synced 2026-08-13 10:23:05 -04:00
- Changed: Now conditional statements (IF/ELIF/ELSEIF) will perform a lazy evaluation of the conditional expression, whereas before they fully evaluated the whole expression. Lazy evaluation means that the expression will be evaluated one piece (or, one subexpression) at a time. At each stage, if it's sure that the whole expression value (true or false) won't change even if new subexpressions will be evaluated, the evaluation will stop there. Example: IF (<LINK.ISVALID> && (<LINK.TAG0.test> == 1)) Won't return an error if item's LINK is invalid or not set, because the evaluation will only halt to <LINK.ISVALID>. Other than allowing more flexible IF tests in just one line, this change will grant faster evaluation times for complex IF tests. |
||
|---|---|---|
| .. | ||
| Porting from 0.55 to 0.56.txt | ||
| Porting from 0.56 to X.txt | ||