diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2022-12-10 07:56:44 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2022-12-10 07:56:44 +0300 |
commit | 247884ab43025408c9f717ce2f15b6b725f74159 (patch) | |
tree | ca63cf1cf9f924bf415bfc793e64006941df9e7d /doc/sciteco.7.template | |
parent | 351d07a7f79049a92a35feb588f13a571d6d1c89 (diff) | |
download | sciteco-247884ab43025408c9f717ce2f15b6b725f74159.tar.gz |
fixed pass-through loops: especially :> and :F<
* fixes test cases like 3<%a:>
* you can now use :F< in pass-through loops as well
* F> outside of loops will now exit the current macro level.
This is analogous to what TECO-11 did.
In interactive mode, F> is currently also equivalent to $$
(terminates command line).
Diffstat (limited to 'doc/sciteco.7.template')
-rw-r--r-- | doc/sciteco.7.template | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index dbd9392..76c32bd 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -1982,9 +1982,9 @@ from it manually. Consequently, if \fIn\fP is omitted the loop will be an infinite one. .LP -Additionally \*(ST supports special colon-modified forms -of the loop start and end commands for processing the -argument stack dynamically. +Additionally \*(ST supports special colon-modified +\(lqpass-through\(rq forms of the loop start and end commands +for processing the argument stack dynamically. .SCITECO_TOPIC :> The \fB:>\fP loop end command will \fInot\fP pop values left on the stack since the beginning of the loop and can be used @@ -1996,8 +1996,8 @@ For instance, the following command will leave the numbers 0Ua 5<%a:> .SCITECO_TT_END .EE -The command can be understood as an aggregated form of the -expression \(lq(%a,%a,%a,%a,%a)\(rq. +The command can be understood as equivalent to the expressions +\(lq(%a)(%a)(%a)(%a)(%a)\(rq or \(lq(%a,%a,%a,%a,%a)\(rq. .SCITECO_TOPIC :< Consequently, the colon-modified loop start command will \fInot\fP represent an argument barrier and the corresponding |