I don't know that I have a full grasp of it either, but I believe it has
to do with context. I tend to think of it in terms of the old DOS copy
command; if you copy from and to the directory that you are in, you
don't have to use a fully qualified file name. "this" is the same idea.
Example: If you had a GUI application with more than one window, "this"
refers to the window object you are in. If you wanted to dispose of the
second window WHILE IN THE FIRST, you would use the window object name
in the "dispose" method. If you are disposing of the first window
(where your context is), use "this".
----Original Message-----
From: Terry Norton [mailto:
[hidden email]]
Sent: Monday, September 14, 1998 9:33 AM
To: NetRexx Course
Subject: [netrexx-course] *this* keyword
I'm having a mental block understanding the *this* keyword.
Could someone explain to me why I would use *this*? It just
seems redundant to me so I know I'm not getting the concept for
its use.
Terry Norton
TEN Industries
Nutramerica Independent Associate
http://www.tenindustries.com/[hidden email]
______________________________________________________________________
Subscribe, unsubscribe, opt for a daily digest, or start a new e-group
at
http://www.eGroups.com -- Free Web-based e-mail groups.
______________________________________________________________________
Subscribe, unsubscribe, opt for a daily digest, or start a new e-group
at
http://www.eGroups.com -- Free Web-based e-mail groups.