DAT question
g3cwi
Posts: 262
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
-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:
Edit: Phil, I didn't see you correction before posting this.
Richard