Icon+Unicon/Intro: Difference between revisions

(Operators)
Line 227:
: S - set (or cset)
: i - integer
: v - variable
 
==== Unary ====
Line 289 ⟶ 290:
 
<lang Icon> v := expr # assign
v1v :=: v2v # swap
v <- expr # conditional assign
v1v <-> v2v # reversible swap
 
x1x \ i # limit generation to i results </lang>
 
== Program Flow and Control ==
Anonymous user