Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 To: onytoo
  Where is onytoo?
 Padang
 Indonesia
 onytoo
 Tags
Subject: RE: Collection vs _Screen vs Public Variable
Thread ID: 289252 Message ID: 289337 # Views: 36 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Friday, December 31, 2010 12:39:56 AM         
   


> >
> > Objects can also be protected from changes, which public vars cannot. You might want to demonstrate that aspect in your class. BTW, if you have a company table and a company object, "company.name" will become vague. I'd go with oCompany for the object name.
> >
> > Mike Yearwood
> > Microsoft MVP Visual FoxPro 2008, 2009
> > We have enough youth. We need a fountain of smart!
> > There may be many ways to skin a cat, but there are very few right ways to do it.
>
> Yeah you right Mike.
> The prefix is not merely as a prefix, but to further confirm what type of data we are working.
>
>
> USE Company IN 0
> LOCATE
> SCATTER NAME oCompany
> ? oCompany.Name
> ? oCompany.Address
> 
> 

>
> Uh, a like this stuff...
>
>
> Regards,
> Onytoo

Yeah, it is most of the times escaping my mind. I think I will be changing the contents of that blog so future readers will have the proper names. Also, would you mind if I add your EMPTY approach on the _screen onto that blog?


http://www.junblogs.com/
http://weblogs.foxite.com/sandstorm36/default.aspx
http://www.coderisland.com/forum/viewforum.php?f=10

ENTIRE THREAD

Collection vs _Screen vs Public Variable Posted by Jun Tangunan @ 12/30/2010 2:46:28 AM
RE: Collection vs _Screen vs Public Variable Posted by Ony Too @ 12/30/2010 10:20:16 AM
RE: Collection vs _Screen vs Public Variable Posted by Jun Tangunan @ 12/30/2010 11:58:43 PM
RE: Collection vs _Screen vs Public Variable Posted by Mike Yearwood @ 12/31/2010 12:11:39 AM
RE: Collection vs _Screen vs Public Variable Posted by Jun Tangunan @ 12/31/2010 12:22:18 AM
RE: Collection vs _Screen vs Public Variable Posted by Ony Too @ 12/31/2010 12:29:58 AM
RE: Collection vs _Screen vs Public Variable Posted by Jun Tangunan @ 12/31/2010 12:39:56 AM
RE: Collection vs _Screen vs Public Variable Posted by Ony Too @ 12/31/2010 3:46:22 AM
RE: Collection vs _Screen vs Public Variable Posted by Jun Tangunan @ 12/31/2010 4:06:01 AM
RE: Collection vs _Screen vs Public Variable Posted by Ony Too @ 12/31/2010 4:14:51 AM