[futurebasic] Re: [FB] Simple Examples

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2010 : Group Archive : Group : All Groups

From: Emmett <click@...>
Date: Sat, 16 Jan 2010 00:32:51 -0800
> On Jan 16, 2010, at 12:06 AM, Jay Reeve wrote:
>
>> Emmett,
>>
>> Is it possible your variable n has been dimensioned as a string?  
>> Your loop error occurs in line 19. May we see the previous 18  
>> lines? Assuming n is a numeric var, there is no problem with the  
>> code you show.
>>
>>   e-e
>>   =J= a  y
>>    "


Ok Ok I fixed it after realizing that variables have to be PRE -  
Declared. I'm used to them being declared automatically when used the  
first time.
Sorry.
And the /*print for n = 1 to 6 <- Don't know how the print word got  
there.

The program works fine after declaring the variable. dim as long n

Emmett