| Hyderabad Jobs | Book Website | ![]() |
I Love Hyderabad | Hyderabad Colleges |
| Home | Business Emails | Hyderabad Classifieds | Contact Us | |
| 7 Wonders of Hyderabad | Web Hosting | Yellow Pages | Our Network | |
Questions And Answers for PowerBuilder Interviews
QuestionYou have declared a global variable xyz and a local variable xyz in the clicked event of a CommandButton. When you refer to xyz in the CommandButton's clicked event, which variable is referred? Global or Local? Click here to see the answer
AnswerWell, when you refer to xyz variable, POWERBUILDER search for the variable in local, instance/shared, instance/shared at the ancestor, global order. That means, in this case, the local variable is referred. To refer to the global variable which has the same name of a local variable, you need to prefix double colon before the variable name. Click here to go to top of the page.
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |