atari email archive

a collection of messages sent at Atari from 1983 to 1992.

VMS bites again...

(1 / 2)


LLF now uses the C argc/argv argument convention to get the command line stuff.
DCL specifies that no single argument be greater than 256 chars and that the
total of all arguments be no greater than 1024 chars. Unfortuneatly, commas
do NOT delimit arguments when using the argc/argv system, you must use white
space. For example:

	file1,file2

is 1 argument as far as DCL is concerned, whereas:

	file1, file2

is 2 arguments. A problem shows up when you have a very long list of filenames
such as you might have in a makefile and DCL assumes that list to be one
argument. You'll get a nasty message:

%DCL-E-TOOLNG, Argument to too damn long, shorten it up you turkey

or words to that effect. To fix that problem, insert spaces between one or more
filenames instead of or in addition to commas. 

ds

Don't believe everything you read...

(2 / 2)


I lied. Two hundred fifty six (256) is the limit, not the aformentioned
1024 regardless of whether you use spaces. Sorry, the option file is the
only solution.

ds
Message 1 of 2

Jun 18, 1987