Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Geoff Franklin
  Where is Geoff Franklin?
 Birmingham
 United Kingdom
 Geoff Franklin
 To: Manisha Sathe
  Where is Manisha Sathe?
 
 Singapore
 Manisha Sathe
 Tags
Subject: RE: how to know the variable is set ?
Thread ID: 33603 Message ID: 33607 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Forms
Date: Sunday, November 30, 2003 8:05:54 AM         
   


> I am declaring a public variable in one prog. In another prog i am using it, but before that i want to make sure that variable has been set.
>

You'd be safer not to use the public at all but to pass the value to the program itself. Same syntax as calling a procedure: DO MyProg With MyParameter.

If you must use a public, test it with EMPTY().

Geoff Franklin
www.alvechurchdata.co.uk

ENTIRE THREAD

how to know the variable is set ? Posted by Manisha Sathe @ 11/30/2003 5:59:32 AM
RE: how to know the variable is set ? Posted by Geoff Franklin @ 11/30/2003 8:05:54 AM
RE: how to know the variable is set ? Posted by Manisha Sathe @ 11/30/2003 11:02:16 AM
RE: how to know the variable is set ? Posted by Pete Sass @ 11/30/2003 11:34:13 AM
Thanks a lot Posted by Manisha Sathe @ 11/30/2003 3:53:10 PM