[Info-vax] Removing the leading $ from commands in a new DCL language
Hans Vlems
hvlems at freenet.de
Sun May 3 08:33:09 EDT 2015
Op zondag 3 mei 2015 14:10:07 UTC+2 schreef Simon Clubley:
> On 2015-05-02, glen herrmannsfeldt <gah at ugcs.caltech.edu> wrote:
> > Simon Clubley <clubley at remove_me.eisner.decus.org-earth.ufp> wrote:
> >> My thoughts were to come up with a way to drop the leading $ from
> >> commands while retaining the ability to have inline data being fed
> >> to a program.
> >
> >> I did think the same as you, but I was also wanting to devise some
> >> mechanism which didn't require the script writer to specify some end
> >> of data sequence which the script writer needs to know isn't going
> >> to be seen within the data.
> >
> > You can already do that. You only need the $ on the line after
> > the last input line. As far as I know, you can put that $ on
> > a line by itself.
> >
>
> And what if there's a $ as the first character of the data ? :-)
>
> (That's the point I was making above.)
>
> Simon.
>
> --
> Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
> Microsoft: Bringing you 1980s technology to a 21st century world
Aren't the DECK and EOD verbs in DCL available to handle that situation?
Besides there's DECK/DOLLAR too.
That combination served me well and though the merits of DCL scripts
without a leading $ are clear, I'd rather not get confused... (old age
kicking in?).
Hans
More information about the Info-vax
mailing list