Subject: | |
From: | |
Reply To: | |
Date: | Thu, 15 Aug 2002 19:34:30 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
There is a very simple solution to this problem. We have two equivalent
ways to do comments, one of which is a single byte (conveniently
non-alpha so it's not case-sensitive). I propose the following change
to the MPE CI:
[If the first byte is "#" then the rest of that line is completely
ignored for anything except possible echoing.]
Note: If "first byte" is replaced with "first non-whitespace byte" I
wouldn't care. Likewise, if the # logic works when
This will allow both opaque and transparent "comments", as needed, since
COMMENT lines can still have substitutions which might be useful in some
cases.
Examples:
COMMENT This comment will show the current group: !hpgroup
# This <comment> shouldn't do anything![right?]
echo group=!hpgroup # should !hpgroup substitution happen here?
<Preferably not.>
COMMENT So maybe !hpgroup should # and !hpgroup shouldn't. :)
Hmmm... A quick test on MPE 7.0 makes it look like # can't be used to
add comments to the end of lines in the MPE CI. If so, ignore those
last couple of examples. (But it works in the shell.)
--
Jeff Woods
[log in to unmask]
[log in to unmask]
Quintessential School Systems
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|