Hi Boriel,
I notice that I cannot do the following:
The compiler returns "error: Initializer expression is not constant."
Digging on this forum reveals a post from 2009, in which you state this is not possible because string lengths are dynamic. Is this still the case? As you posted in that thread, it ought to be simple to just have the compiler run a bunch of individual LET assignments, but it's a bit ugly to have to type them out.
Thanks,
Patters
I notice that I cannot do the following:
Code:
DIM stringArray(2) AS STRING => {"apples", "oranges", "pears"}
The compiler returns "error: Initializer expression is not constant."
Digging on this forum reveals a post from 2009, in which you state this is not possible because string lengths are dynamic. Is this still the case? As you posted in that thread, it ought to be simple to just have the compiler run a bunch of individual LET assignments, but it's a bit ugly to have to type them out.
Thanks,
Patters