[futurebasic] [FB^3] Conversion Hiccups

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

From: "Pete" <furbies@...>
Date: Mon, 27 Sep 1999 06:01:16 +1000
I can't remember if it was reported or where, but here's one to watch for...

Under FB II and PG 4, I had a menu item with a comma as part of the item
name

Under FB^3 Program Generator Rev.0, commas as part of a menu item name cause
FB^3 Program Generator Rev.0 to mess up the _constant for the menu item.

Just thought you all might want to know...


And

This Fn compiled ok under FB II

LOCAL FN RSLTtransRsltsToDataH(realRecNum, theData&)

    XREF@ theData$(_maxInt)

    resultsH& = gSMGblk.SMGresultsListH&
    XREF@ resultsH.resultsRecSz(_maxInt)

    theData$(1) = STR$(resultsH.RRteamAMajScore&(realRecNum))
    theData$(2) = STR$(resultsH.RRteamBMajScore&(realRecNum))

    theData$(3) = STR$(resultsH.RRteamAMinScore&(realRecNum))
    theData$(4) = STR$(resultsH.RRteamBMinScore&(realRecNum))
END FN

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.¼:WINPUTRESULTS.FLTR at line 83 in RSLTTRANSRSLTSTODATAH,
Code=156278
€€XREF@ theData$(_maxInt)


And I'm stupped...



Pete...