We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following example shows that the operation a + 1 is reused on the alternate branch, even though it can only be executed in the consequent branch.
a + 1
const a = Math.rand(10) const b = a > 5 ? (a + 1) * 2 : (a + 1) * 3
Output:
op rand a:1:6 10 jump 5 lessThanEq a:1:6 5 op add &t0 a:1:6 1 op mul b:2:6 &t0 2 jump 6 always op mul b:2:6 &t0 3 end
Version: latest (a9676c1) Similar to #144.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following example shows that the operation
a + 1
is reused on the alternate branch, even though itcan only be executed in the consequent branch.
Output:
Version: latest (a9676c1)
Similar to #144.
The text was updated successfully, but these errors were encountered: