Alpha Arrays are looking like they will have a lot of potential greatness for our use!
I have an issue I noticed with them so far, though.
TRFs do not seem to read in Array Elements as I would have thought they should. I may not be using it properly though.
I have an arrray:
Alpha Temp_Array[5] L20
In my code, I am populating the Array Elements with variable data.
let's say :
Temp_Array[0] = "$1.00"
Temp_Array[1] = "$2.00"
I have text similar to the below in a TRF:
Please Donate ^Temp_Array[0]^ or even ^Temp_Array[1]^
then in my Pres layout:
TRFREAD "Filename.TRF", 1, txtBuffer
REPLACE txtBuffer,"^","^",'F'
WORDWRAP txtBuffer,NumLines,'L',6.5
MOVE txtBuffer L=$WrapLength
but the Array elements do not get replaced, and prints as:
Please Donate ^Temp_Array[0]^ or even ^Temp_Array[1]^
it should print like as below:
Please Donate $1.00 or even $2.00