[Remind-Fans] misleading error message on pasted field
Ian! D. Allen
idallen at idallen.ca
Mon Jun 13 03:54:10 EDT 2016
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 - idallen at idallen.ca - 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/
More information about the Remind-fans
mailing list