TCL read & split multiple stdin values
I would like to read and split multiple values entered via stdin.
For example:
set values [gets stdin]
==> there I read all the values entered by the user in 1 line separated by
a space via stdin (for ex : 1 aa 55 do 54) and put all these values in my
variable values. Now I would like to have a way to split or read all these
values separatly to access each value.
No comments:
Post a Comment