Earlier I vented a certain frustration with the usual verbose syntax for a simple conditional assignment in LSL. Let me review the options from that post using a more general pseudo-code, yet still syntactically–though not semantically–correct in LSL. For the type name, I will use the word “whatever”: [lsl] whatever result; if (some_logical_condition_is_TRUE) result = […]
January 2010 S M T W T F S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31