DAT question
I have some data that consists of 26 longs. I have started to store it in a DAT section like this:
Letter_matrix long $F14A5F00, $FD6B5500, $74631880, $00000000, $00000000, $00000000, $746B5E80, $00000000, $047F1000, $00000000
However 26 on a line will make a long line. Is there a better way?
I intend to access it by:
Var1 := Letter_matrix[0] '=A
Var_etc := Letter_matrix[1] '=B
etc.
Can I split the line somehow? I tried some ways with no luck. I have even read the manual!
Cheers
Richard
Letter_matrix long $F14A5F00, $FD6B5500, $74631880, $00000000, $00000000, $00000000, $746B5E80, $00000000, $047F1000, $00000000
However 26 on a line will make a long line. Is there a better way?
I intend to access it by:
Var1 := Letter_matrix[0] '=A
Var_etc := Letter_matrix[1] '=B
etc.
Can I split the line somehow? I tried some ways with no luck. I have even read the manual!
Cheers
Richard

Comments
DAT letter_matrix long $f14A5F00,{ } $FD6B5500Letter_matrix long $F14A5F00, $FD6B5500, $74631880, $00000000 [color=red]<- Note: no comma at end of line.[/color] long $00000000, $00000000, $746B5E80, $00000000 long $047F1000, $00000000, $12345678, $12345678 ... etc. ...-Phil
Don't you need a "long" on each of those lines?
I quess I can find out for myself by trying it.
-Phil
So you'd want to change the code to:
Letter_matrix long $F14A5F00, $FD6B5500, $74631880, $00000000 '<- Note: no comma at end of line. long $00000000, $00000000, $746B5E80, $00000000 long $047F1000, $00000000, $12345678, $12345678Edit: Phil, I didn't see you correction before posting this.
Richard