A forum for Spin users
You are not logged in.
SPIN version 6.1.0 -- 4 May 2011
iSpin version 1.0.6 -- 24 October 2011
If for is implemented as do loop, why doesn't it allow break inside?
You may create the syntax error with the following code.
active proctype x()
{
byte i;
for (i : 1..10)
{
if
:: i > 5 -> break
:: else
fi
}
}
Offline