ObjectPAL Self Keyword (Self)
A built-in object variable that represents the UIObject to which the currently executing code is attached.
method pushButton(var eventInfo Event) msgInfo("", self .Name) endMethod
0 Comments.
Share a thought or comment...
Code Contributed By Mike Prestwood:
Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions . Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains play-drums.com and has authored 3 drum books . If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.
The following are practice certification questions with answers highlighted. These questions were prepared by Mike Prestwood and are intended to stress an important aspect of this KB post. All our practice questions are intended to prepare you generally for passing any certification test as well as prepare you for professional work.
Intermediate
1 Intermediate Level Question
Question #1: Multiple Choice
Answer:
1. To refer to the current UIObject, use the self keyword.
msgInfo("", self.Name)
2. To refer to the current UIObject, use the me keyword.
msgInfo("", me.Name)
3. To refer to the current UIObject, use the this keyword.
msgInfo("", this.Name)
4. To refer to the current UIObject, use the UIObject keyword.
msgInfo("", uiobject.Name)
KB Article #101934 Counter
9305
Since 2/23/2009