From 247884ab43025408c9f717ce2f15b6b725f74159 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 10 Dec 2022 07:56:44 +0300 Subject: 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). --- doc/sciteco.7.template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3