TECO-64 icon indicating copy to clipboard operation
TECO-64 copied to clipboard

Control structure works differently from traditional TECO

Open LdBeth opened this issue 4 months ago • 10 comments

This might be more of a feature request than bug report.

A interesting phrase I found in squ.tes has interleaved loop and conditional constructs

< D .-Z; 0A"D > '

and the effect is delete digits from current point until there is no more. (although the ?UTC would be thrown at run time if noun digit is encountered in TECOC)

Apparently the traditional TECO treats control flow commands as anchor points to go to, where TECO-64 works differently.

Consulting the Standard TECO user guide, I was wondering the lack of unconditional exit from loop construct, and if interleave loop with conditional is allow then I would not be surprised the "intentional" omitting of such construct.

LdBeth avatar Feb 09 '24 21:02 LdBeth