Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #2256

Re: Opening only existing classes

From "Willie Moore" <williem@wmconsulting.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Opening only existing classes
Date 2011-10-11 17:31 -0500
Organization Aioe.org NNTP Server
Message-ID <j72g3b$5fu$1@speranza.aioe.org> (permalink)
References <j6v968$qna$1@tdi.cu.mi.it>

Show all headers | View raw


Enzo,

To add to what Carlos said, I would always add a begin sequence / end 
sequence around the oClass := CreateInstance(#CustomerClass) so you can 
protect the application if the class doesn’t exist. If you use the oClass := 
CustomerClass{}, you will need to make sure that the class is available when 
you compile.

Regards,
Willie 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Opening only existing classes Enzo Benvenuti <e.benvenuti@tedvalet.com> - 2011-10-10 19:15 +0200
  Re: Opening only existing classes Carlos Rocha <carlos.rochaDELETETHIS@doossier.com> - 2011-10-10 18:50 +0100
  Re: Opening only existing classes "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-10-11 14:14 +1100
  Re: Opening only existing classes Johan Nel <johan.nel@xsinet.co.za> - 2011-10-11 01:08 -0700
  Re: Opening only existing classes malcolm gray <malcolm.gray@ntlworld.com> - 2011-10-11 19:35 +0100
  Re: Opening only existing classes "Willie Moore" <williem@wmconsulting.com> - 2011-10-11 17:31 -0500

csiph-web