Ok, now I remember the reason for all these vars, they cannot be
removed. If I make these vars:
var byte large_array_byte_1b[256]
var byte large_array_byte_2b[256]
and if I want an array size of 300, the compiler will allocate the
full 2 array's of 512 bytes.
so, I copied them over and each has a line like this:
var byte large_array_byte_1b[256]
if !(LARGE_ARRAY_SIZE == 256) then -- compiler gives an error on
zero sized arrays
var byte large_array_byte_2b[LARGE_ARRAY_SIZE - (256)] -- this
one will only allocate what is calculated
end if
and the same had to be made for each step.
There may be a way to remove more vars via more calculations, but it
will actually add more code and more complexity.
I do wish there was a way to reduce code, but this is the only way I
see.
Matt.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---