Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Questions And Answers for PowerBuilder Interviews

HomePrevious Lesson: Question: #88 of #131
Next Lesson: Question: #90 of #131
Question: #89 of #131 Section: DataWindow Version: 5.0 or later

Question

Can you declare CONSTANTS in PowerBuilder?

Click here to see the answer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Answer

From version 5.0 onwards, you can declare constants in POWERBUILDER. For example: CONSTANT APPEND_TO_ROWS 2. When you want to append to the existing rows in the DataWindow when you retrieve next time, write 'return APPEND_TO_ROWS' instead of 'return 2'. Using constants you can make the code more readable and also more efficient (in some places).

Click here to go to top of the page.
HomePrevious Lesson: Question: #88 of #131
Next Lesson: Question: #90 of #131

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com