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

Mark McDougall msmcdoug at iinet.net.au
Fri Jun 20 08:27:27 EDT 2014


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 McDougall                | "Electrical Engineers do it
|  <http://members.iinet.net.au/~msmcdoug>   |   with less resistance!"


More information about the Coco mailing list