[Coco] (D)ECB and command-line arguments

Robert Gault robert.gault at att.net
Fri Jun 20 09:32:55 EDT 2014


Mark McDougall wrote:
> On 20/06/2014 4:03 AM, Arthur Flexser wrote:
>
>> A technique I've used is this:  You put a dummy DATA statement at the end
>> of your program, like "DATA 1"  and have the program read that single data
>> value.
>
> The idea is to have something that can be typed from the command-line, rather
> than be part of a program listing. Very simple to use without requiring
> excessive typing or having to remember 'magic' codes.
>
> eg.
>
> loadm foobarbin
> exec `-a -f fred.txt
>
> I'll look into this - thanks William!
>
> Regards,
>

Mark,

You could always have your ml program "ask" the user for input.

loadm foobar.bin
exec
OK, what file do you want to use? Enter the name. >

Robert



More information about the Coco mailing list