Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!clyde!motown!mergvax!inthap!polyof!john From: john@polyof.UUCP ( John Buck ) Newsgroups: comp.sys.atari.st Subject: Re: New 40-folder solver ??? - (nf) Message-ID: <221@polyof.UUCP> Date: Sat, 2-May-87 18:24:54 EDT Article-I.D.: polyof.221 Posted: Sat May 2 18:24:54 1987 Date-Received: Sun, 3-May-87 19:40:35 EDT References: <119100011@exunido.UUCP> <716@atari.UUCP> <2062@cwruecmp.UUCP> Organization: Polytechnic Inst. of NY, Farmingdale NY Lines: 18 Summary: argv[0], another way in this case In article <2062@cwruecmp.UUCP>, vlsi@cwruecmp.UUCP (Hackers Galore) writes: > In article <716@atari.UUCP> dyer@atari.UUCP (Landon Dyer) writes: > >Yep. Writing software at Atari Corp. is interesting, because the > >place leaks pre-release software like a sieve. The 'foldrxxx.prg' > > Landon, > What `trick' do you use to pick up the program name from the > command line, and normally argv[0] is not avail I would say the way he probably did it was to use snext(), and read the /auto directory looking for something like fold???.prg. (IE we know that it's going to be in /auto). Pretty simple piece of code. I do not think that was any argv[0] trick involved. John Buck trixie!polyofcontai