Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compile error with EXECSCRIPT()
Message
From
18/04/2004 04:31:21
 
 
To
18/04/2004 01:03:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00894607
Message ID:
00895912
Views:
27
The premises are not all correcting.


So in your case, the first call was passing reference x "by value",
and you had a copy of x, called Z in the method, which was pointing to the object.


This is correct


You assign null to the object, now both z and x point to a memory block containing a null.


This is mistaken.
You assign Null to the Z variable, the object is not touched.


Don't know whether this has something to do with reference counting,


This is very simple: by Value increment RefCount semaphore, by Reference not change RefCount semaphore.

To the end you have understood all. Very good.

Hi Dragan.
Previous
Reply
Map
View

Click here to load this message in the networking platform