[futurebasic] Re: [FB] [FB^3] Conversion Hiccups

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

From: BMichael@...
Date: Sun, 26 Sep 1999 20:43:04 EDT
>This Fn compiled ok under FB II
>
>LOCAL FN RSLTtransRsltsToDataH(realRecNum, theData&)
>    XREF@ theData$(_maxInt)
<snip>
>But FB^3 reports the compile error:
>
>Error: An XREF pointer variable can no longer be dimensioned before the XREF
>array. example: DIM xxx& : XREF xxx%(10) Remove DIM xxx&.P
>In file ladder.1/4:WINPUTRESULTS.FLTR at line 83 in RSLTTRANSRSLTSTODATAH,
>Code=156278
>XREF@ theData$(_maxInt)
>
>
>And I'm stupped...

Just guessing, so don't take this as proven! (I'm not an XREF XPERT.) I 
know the use of theData& in the parameter list "implicitly DIMs" 
theData&, so I'd try something like;

LOCAL FN RSLTtransRsltsToDataH(realRecNum, Dummy&)
  XREF@ theData$(_maxInt)
  theData& = Dummy&

Bill