Wouldn't that also prevent modification of values in the array? I'm not sure that's what the OP wants, but rather just to prevent the array from expanding. It's unclear, but the SetReadOnly function does come with the caveat that you can't modify the array at all.
In reply to Re^2: Is there a way to lock arrays?
by radiantmatrix
in thread Is there a way to lock arrays?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |