Difference between revisions of "Tuple"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
  
 
[[Bash]]
 
[[Bash]]
  for i in "c 3" "e 5"
+
  [[for]] i in "c 3" "e 5"
 
  do
 
  do
 
     [[set]] -- $i # convert the "tuple" into the param args $1 $2...
 
     [[set]] -- $i # convert the "tuple" into the param args $1 $2...
 
     echo $1 and $2
 
     echo $1 and $2
 
  done
 
  done
 +
 +
* [[while read line]]
  
 
== See also ==
 
== See also ==

Latest revision as of 14:15, 28 September 2023

Advertising: