[futurebasic] Re: [FB] FB^3 Variable Error

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1999 : Group Archive : Group : All Groups

From: Mel Patrick <mel@...>
Date: Sat, 6 Nov 1999 19:54:24 -0800
> > FB3 flags this as an error :
>>
>> temp$=a$
>> PRINT temp$;
>> temp=12
>> print temp
>>
>> The error says the second variable temp is "expected" to be a string.
>> Temp is not DIMmed nor defined as a string anywhere.
>
>mel:
>
>I believe dim'ing both temp$ and temp would stop this 'error'...
>
>That is:
>DIM temp$, temp
>
>temp$=a$
>PRINT temp$;
>temp=12
>print temp
>
>is ok
>
>DIM temp$
>
>temp$=a$
>PRINT temp$;
>temp=12
>print temp

Actually, neither of them is dimmed any place. I just use and abuse em..;-)

But I'll give that a go. Just sort of struck me as odd.

Mel Patrick
mel@...