Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GarbageCollector
Message
From
07/06/2003 06:43:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00797590
Message ID:
00797597
Views:
12
>Hi friends,
>
> *-- Now this is instance behavior so
> *-- Your method starts mere with DoDefault()
> *-- Now clean up situational artifacts at this level
> This.oPointer1 = .NULL.
> This.oPointer2 = .NULL.
>
>What is meant by oPointer1 and oPointer2.
>
>failed to understand mentioned above lines in the mentioned below piece of code.
>
>
>PROCEDURE Release
>  *-- This is base class behavior.
>  This.GarbageCollect()
>  Release This
>
>PROCEDURE GarbageCollect
>  *-- This is base class behavior.
>  *-- If this object is some sort of container
>  FOR EACH oControl IN This.Controls
>    IF PEMSTATUS(oControl, "GarbageCollect", 5)
>      oControl.GarbageCollect()
>    ENDIF
>  ENDFOR
>
>  *-- Now this is instance behavior so
>  *-- Your method starts mere with DoDefault()
>  *-- Now clean up situational artifacts at this level
>  This.oPointer1 = .NULL.
>  This.oPointer2 = .NULL.
>
>PROCEDURE DESTROY
>  This.GarbageCollect() && Only to be sure it gets called
>  DoDefault()
>
Sounds like they're properties holding references to 2 objects.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform