[Info-vax] Removing the leading $ from commands in a new DCL language

Chris Scheers chris at applied-synergy.com
Fri May 1 13:28:20 EDT 2015


Simon Clubley wrote:
> I think in any new DCL replacement language, the leading dollar on
> every command line should not be required in command procedures.
> 
> Instead, if you want to pass inline data embedded in a command procedure
> to a program, new-DCL could either pass the following lines up to some
> specified EOD marker, or (my preferred option), the actual inline data
> itself would be the one to be prefixed with a special character instead
> of the new-DCL commands.
> 
> New-DCL would remove the prefix character before passing the rest of
> the line into the program.
> 
> The reason for this is that in the stuff I've come across there's _far_
> fewer lines of data embedded in a command procedure than there are
> actual command lines and requiring a leading dollar on every command
> line looks naff when compared to other scripting languages.
> 
> Looking at how I've written some code in those other scripting languages
> is what has driven this observation BTW.
> 
> Also, line continuation characters would not be affected by this
> suggestion and would continue as they currently are.
> 
> Comments ?

Think of it this way: "$" IS the specified EOD marker.

-- 
-----------------------------------------------------------------------
Chris Scheers, Applied Synergy, Inc.

Voice: 817-237-3360            Internet: chris at applied-synergy.com
   Fax: 817-237-3074



More information about the Info-vax mailing list