Hello,
Is it new BUG?:
This is a nice, simple, useless function:
on myFunction a
a = a + 1
end
check in Message Window:
---------------------------------
b = 1
myFunction(b)
put b
-- 1
---------------------------------
OK. WORKS GOOD. BUT:
on myFunctionForLists v
v[1] = v[1] + 1
v[2] = v[2] + 1
end
let's see how it's working (in Message Window):
---------------------------------
w = [1,1]
myFunctionForLists(w)
put w
-- [2,2]
---------------------------------
WHY !? SHOULD BE
-- [1,1]
Can you explain that?
Szymon Drejewicz
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]