Article View: comp.sys.atari.st
Article #26562Re: New 40-folder solver ??? - (nf)
From: dyer
Date: Wed, 29 Apr 1987 14:45
Date: Wed, 29 Apr 1987 14:45
20 lines
1321 bytes
1321 bytes
> What `trick' do you use to pick up the program name from the
> command line, and normally argv[0] is not avail, but obviously
> you are picking it up somehow.
It is a hack. The folder adder simply does an Fsfirst() on
"\AUTO\FOLDR*.PRG" and looks at the result. It searches for itself.
This was suggested by my esteemed colleague Allan Pratt as one of the
most trivial user interfaces possible.
> Is there a fool proof way of doing
> this without mucking around in Gemdos areas?
I was going to answer "No!", but I just thought of something.
Have to think about it ....
--
-Landon Dyer, Atari Corp. {sun,lll-lcc,imagen}!atari!dyer
The views expressed here do not not
necessarily reflect those of Atari Corp. Segments are for worms.
Technical Details
Message-ID:
<718@atari.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!panda!genrad!decvax!decwrl!sun!imagen!atari!dyerReferences:
<119100011@exunido.UUCP> <716@atari.UUCP> <2062@cwruecmp.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!panda!genrad!decvax!decwrl!sun!imagen!atari!dyer From: dyer@atari.UUCP Newsgroups: comp.sys.atari.st Subject: Re: New 40-folder solver ??? - (nf) Message-ID: <718@atari.UUCP> Date: Wed, 29-Apr-87 10:45:48 EDT Article-I.D.: atari.718 Posted: Wed Apr 29 10:45:48 1987 Date-Received: Fri, 1-May-87 04:15:15 EDT References: <119100011@exunido.UUCP> <716@atari.UUCP> <2062@cwruecmp.UUCP> Organization: Atari Corp., Sunnyvale CA Lines: 20