Can anyone give a tutorial on Constant memory? constant memory access

att, thanks!
This is sure to be widely welcomed.

Hi, I was also puzzled how to do things properly but ‘prkipfer’ clarified much of the story here:…98&#entry176898

It helped me a lot for sure.

Thanks very much, also to peter.

But how to use constant array that has a size later determined is still unclear.

like constant int* p;


this can’t pass compile.

see my last post.

See the manual section constant has implied static storage. You cannot use a dynamic sized array.


Thanks cool guy, what if we have something like “extern constant” in next version?