Blitz (59/218)

From:Steve Hargreaves
Date:12 Aug 2001 at 22:39:27
Subject:Re: AslPathRequest$

On 11-Aug-01, David McMinn said -

>DM> If you move the code to a separate procedure (statement or function), and
>DM> call that procedure each time you need to get input, it seems to work. Not
>DM> ideal, but what the hell, it gets the job done :o)

>DM That's because the strings are local variables and are created/destroyed
>DM each time you call the function. Nice hack :)

Yeah, I'd figured out that was why it worked, but I still assume that the
command itself must have a buffer, that whilst it is treated as local to the
procedure, should be cleared each time it is called anyway, and apparently isn't being.

If it was down to a bug in ASL library, I'd expect to have seen the same behaviour in
other apps before. I can only assume it's a bug in the blitz handling of the
library.

>DM I'd watch out for Enforcer hits though - IIRC the ASL library is a bit
>DM dodgy (as you've already seen).

Hmmm. Well, I use MagicASL here, which patches the ASL library anyway, and you'd
assume should clear up any bugs. In any event, I don't check for ENforcer hits
with my code. I trust Blitz...........some people (me) are so trusting it
beggars belief :o)

Besides, although up to 5000 calls to AslPathRequest are a /possibility/ in the
util, I wouldn't expect more than 1 or 2 in normal use.

Regards

Steve
========================================================
//Amiga 1200, '060/50, OS3.9, EZ-Tower, Dopus,
// PC Keyboard W EZ-Key, 56K modem, 2+32 Meg,
\\ // NEC 2A Multisync, Logic 3 SpeedMouse, HPDJ610C,
\\/ Sega Controller, & no hair.

=========================================================
You cannot kill time without injuring eternity.
-- Thoreau

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie