A forum for Spin users
You are not logged in.
Pages: 1
the manual states
"The two statement separators are equivalent."
http://spinroot.com/spin/Man/Manual.html
is there really no exception? I ask because I'd like to prefer ; but I don't want to write a wrong recommendation :-)
So I can say, "->" can always be replaced by ";"?
http://spinroot.com/fluxbb/viewtopic.php?id=857
was read
Offline
that is correct.
sometimes it looks cleaner if you separate a wait-condition from the following text with the arrow, e.g.:
if
:: (a > b) -> a++
:: else -> a--
fi
but it is entirely optional, and anywhere you can use -> you can also use ; instead
Offline
Thank you very much!!
Offline
Pages: 1