Hi mazzle,
exactly that 's what I'm talking about. The script does not print the expected "A" but an unexpected "10".
This is not a real script, so forget the wired GLOBAL stuff. It is just a small test to figure out why this kind of script does not work as expected.
The backround is a recursiv function, that returns references to a specific arrayposition. I want the function to set my parameter to a correct value. Furthermore I need references to identify my arrays. The must not be copied.
With other words: References as "call by reference" function paramters dont work.
Ed