The man page says:
You cannot use expression-pasting to determine the type (MSG,
CAL, etc.) of a REM command.
Not entirely true. This works (MSG could be CAL or maybe any type keyword):
SET V "MSG"
REM [V] Hi There.
This also works (leading blanks):
SET V " MSG"
REM [V] Hi There.
This curiously gives an error (trailing blanks):
SET V "MSG "
REM [V] Hi There.
Can't nest MSG, MSF, RUN, etc. in expression
This works without error (defaults to type "MSG", output: junk Hi There):
SET V "junk"
REM [V] Hi There.
This also works (leading blanks, still defaults to "MSG"):
SET V " junk"
REM [V] Hi There.
This (trailing blanks) gives a misleading error message:
SET V "junk "
REM [V] Hi There.
Can't nest MSG, MSF, RUN, etc. in expression
Can that be improved?
--
| Ian! D. Allen, MMath - [email protected] - Ottawa, Ontario, Canada
| Home: http://idallen.com/ Contact Improv Dance: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind