Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing value not a reference
Message
From
21/03/2016 11:26:33
 
 
To
21/03/2016 10:04:43
General information
Forum:
Javascript
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01633405
Message ID:
01633425
Views:
41
>>I doubt so, as JavaScript only support passing parameters by value.
>>What probably happens is that lnLeft, not being defined by var lnLeft, is created as a property of the global object (window when executing in a browser); when onMouseOut() executes, it takes whatever lnLeft is in scope, eg window.lnLeft.
>
>Thanks, using var seems to be the simplest way to use.


just like LOCAL are more manageable than PUBLIC
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform