Please tell me there is a better way!
I am finally able to fill my string array but it is UGLY! The following code works, but it barks!
for x = 0 to 3
lookup x,["0",".","0","0"],y
RevLevString(x) = y 'load string array with "0.00"
next x
'
for x = 0 to 19
lookup x,["O","C","T"," ","2","5",","," ","2","0","0","5"," ","9",":","2","5","p","m"," "],y
RevDateString(x) = y 'load str array with "OCT 25, 2005 9:25pm"
next x
A competing product accomplishes the same thing as follows:
RevLevString bytetable "0.96"
RevDateString bytetable "OCT 01, 2005 7:25pm "
Is there a more elegant way to fill a string array in PBP?