Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!comp.vuw.ac.nz!actrix!templar!jbickers From: jbickers@templar.actrix.gen.nz (John Bickers) Newsgroups: comp.sys.amiga.advocacy Subject: Re: Script bits Message-ID: <11221.tnews@templar.actrix.gen.nz> Date: 15 Feb 91 00:03:42 GMT References: <18ac1a05.ARN2ae4@prolix.pub.uu.oz.au> <1991Feb13.013917.22130@sugar.hackercorp.com> Organization: TAP, NZAmigaUG. Lines: 18 Quoted from <1991Feb13.013917.22130@sugar.hackercorp.com> by peter@sugar.hackercorp.com (Peter da Silva): > In article <18ac1a05.ARN2ae4@prolix.pub.uu.oz.au> dac@prolix.pub.uu.oz.au writes: > > having the machine check to see if a file is a script, is plain dumb. > > Why? Count up how many accesses are required on the file to determine whether it's a script, using either method. In the worst case, running a script frequently as part of another script on a floppy, you'd want something a bit more efficient than "if LoadSeg fails LoadScript". > . -- *** John Bickers, TAP, NZAmigaUG. jbickers@templar.actrix.gen.nz *** *** "Patterns multiplying, re-direct our view" - Devo. ***