[futurebasic] Mysterious error

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

From: Jay Reeve <jayreeve@...>
Date: Fri, 7 May 2010 00:45:51 -0500
At RC's suggestion, I'm trying to resurrect my FBII masterpiece in  
FB5. I have this in my globals file:
> begin record wordRec
> dim nextWord as UINT16
> dim count as UINT16
> dim address as long
> end record
>
> dynamic gWordRec(_maxlong) as wordRec


When I compile, I get this error, which I don't understand:

> Error:•• Unknown statement in line 147 of Alphabetic  
> Continuum.INCL: ''
>  147:  p = gWordRec.address( recPtr )
>                            ^

recPtr is a long input to the fn. Am I missing something obvious?  
What about this stmt is unknown?

Jay

FB 5.4.4, FBtoC 1.4.4, G4 OS 10.4.11