After more thought, will this do what I want to do??
Code:
ARRAYWRITE file1,[HEX2 hr,"hour.txt"]
I hope that this would result in the file1 array containing the string 12hour.txt when hr = $12 ??