Try to compile this. You get this.
Cannot access resource compiler results.
If you change the currency to long it works. Ideas?
Cannot access resource compiler results.
If you change the currency to long it works. Ideas?
Code:
#COMPILE EXE #DIM ALL TYPE TESTTYPE1 value AS CURRENCY END TYPE TYPE TESTTYPE2 nonArr AS TESTTYPE1 arr(2) AS TESTTYPE1 END TYPE FUNCTION PBMAIN () AS LONG DIM tempTest AS TESTTYPE2 tempTest.nonArr.value = 0 tempTest.arr(1).value = 0 tempTest.arr(2).value = 0 tempTest.nonArr.value += 1 tempTest.arr(1).value += 1 tempTest.arr(2).value += 1 END FUNCTION
Comment