Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Jun 14, 2000

Dynamic Global Variable Declaration

Question:
Can I declare a global variable at runtime?

Answer:
Yes and no. You cannot add a global variable at runtime, but you can dynamically create an object and store it in an unbound array of powerobjects within a global variable.

Take a look at the CREATE USING command to create objects by name as a string.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date