Blitz (11/352)

From:Thomas Cobb
Date:4 Oct 99 at 15:42:55
Subject:Re: Naslrequest

amorel wrote:

> I still have problems with Naslfilerequest. When doing a
> Naddtag #ASLFR_TitleText , var$ it continues to use the variable given for the
> #ASLFR_InitialDrawer.
>
> Really THIS IS A BUG and not my fault. I have tried many things and read all I
> could read. Too bad the example source doesnt use this, maybe thats
> intentional ;-)

Actually, it's your fault and not a bug =)

If you look at the autodocs/command syntax you'll see that, like most (all?) os
functions that take a string as an argument what you actually pass is a pointer
to a string. Passing the actual text works for the first string you use but will
end up with corrupted text for any subsequent ones (because of the way blitz
stores strings in the executable).

Instead try:

var$="text"
Naddtag #ASLFR_TitleText,&var$

Thom

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