Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

@WORD vs @FIELD in v 22

May
572
4
I haven't actually downloaded a trial version of TCC v22 yet, but I noticed the new syntax for @WORD, allowing @WORD[n-, string] to mean the nth word and everything after. I noticed that there isn't a similar syntax in the online help file for @FIELD.

Was a similar syntax implemented in @FIELD and omitted from the help, or was it just not implemented? (And if not, is it too late?)
 
It looks like there is.
Code:
v:\22extract\8ffdd1c> echo **%@field[1-," ",   a    ]**
**   a    **
 
So now I see
Code:
If you use a - and don't specify an end, @WORD will return all fields from the nth one to the end of the line.
.

That should say @FIELD instead of @WORD.
 
And NOW I see
Code:
If you use a - and don't specify an end, @WORD will return all words from the nth one to the end of the line.

which seems correct.
 

Similar threads

Back
Top