Page MenuHomeFeedback Tracker

SQF Lazy evaluation of and / or, not included from ARMA 2 OA 1.63 beta
Closed, ResolvedPublic

Description

It appears the lazy evaluation added to ARMA 2 OA betas was not ported to ARMA 3.
Would it be possible to include this in a future build?
It currently blocks or otherwise complicates loading or converting existing ARMA 2 OA systems.

Details

Legacy ID
1555831698
Severity
Minor
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

1: script file with: if (true && {false}) then {};
2: launch script file
3: observe error: Error Generic error

Additional Information

[93632] New: Lazy evaluation variants of scripting functions and / or.

Event Timeline

Sickboy edited Steps To Reproduce. (Show Details)Mar 6 2013, 12:06 AM
Sickboy edited Additional Information. (Show Details)
Sickboy set Category to Scripting.
Sickboy set Reproducibility to Always.
Sickboy set Severity to Minor.
Sickboy set Resolution to Fixed.
Sickboy set Legacy ID to 1555831698.May 7 2016, 10:40 AM

185 votes, no comments... Not much to say, is there? :P

Spears added a subscriber: Spears.May 7 2016, 10:40 AM
Spears added a comment.Apr 4 2013, 4:52 PM

THE ONE AND ONLY SICKBOY!

glad you are onboard Arma3, making it a better place to be ;)

greetings,
mikemiller

Actually, lazy eval with curly braces seems to works now, not sure in which build it was added.

shall be fixed for quite some time