pull var1 .
parse value rem.0+1 var1 with ,
$z rem.$z 1 rem.0 .
This code is not exactly "intuitive", so let me lead you by the hand...
"value rem.0+1 var1" represents a string which in the first instance is "1 3". This gets parsed such that
Code:
$z = 1
rem.1 = 3
then the pattern is reset to position '1' and re-parsed such that
Code:
rem.0 = 1
The net is that you do in one motion what would otherwise take several assignments, and no one will dare touch your code because they haven't the first clue what it's doing ;-)
Frank Clarke
Support the Troops:
-- Bring them home.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.