Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5055
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Funtion to check if a variable exists.(run time) |
| Date | 2013-04-14 20:44 +0200 |
| Message-ID | <at0bnuFd5qhU1@mid.individual.net> (permalink) |
| References | <832dabac-7ed5-4e5f-9403-8d0da3a36e0b@googlegroups.com> |
Hi George, > I want to check if a variable exists in runtime. AFAIK there is no easy possibility to check this. For private and public variables you can check with _PublicFirst/_PublicNext and _PrivateFirst/_PrivateNext. To check if an object has a given instance variable, IVarGetInfo()/IVarPutInfo() is your friend. I you need to check if a parameter is passed, you can check with IsNil(). Local variables are resolved at compile time, so IMHO a check cannot work. What dou you are trying to accomplish? Wolfgang --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
Funtion to check if a variable exists.(run time) BGeorge <bgeorge21@in.gr> - 2013-04-13 07:10 -0700
Re: Funtion to check if a variable exists.(run time) "Jamal" <jamal@examples.net> - 2013-04-13 19:48 -0400
Re: Funtion to check if a variable exists.(run time) BGeorge <bgeorge21@in.gr> - 2013-04-14 09:52 -0700
Re: Funtion to check if a variable exists.(run time) "Jamal" <jamal@examples.net> - 2013-04-15 12:03 -0400
Re: Funtion to check if a variable exists.(run time) Massimo Bighelli <info@arcasistemi.it> - 2013-04-15 18:09 +0200
Re: Funtion to check if a variable exists.(run time) "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-04-14 20:44 +0200
csiph-web