in reply to Is there a way to lock arrays?

Just a guess: by overloading the STORE operator?

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law