You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd be inclines to say that the order is implementation defined, so if you want to make sure that SET(a=2,b=a+a) behaves as you expect, you write it as two separate SET commands.
Activity
[-]Order of operations[/-][+]Order of operations in SET[/+]eldering commentedon Mar 14, 2026
The second is the current behaviour indeed, see https://github.com/DOMjudge/checktestdata/blob/main/libchecktestdata.cc#L271-L273.
I'd be inclines to say that the order is implementation defined, so if you want to make sure that
SET(a=2,b=a+a)behaves as you expect, you write it as two separateSETcommands.