Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9505
| Path | csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: IsMethod() for use in functions |
| Date | Tue, 5 Jul 2016 20:06:51 +0200 |
| Lines | 25 |
| Message-ID | <du2b9sF4tbaU1@mid.individual.net> (permalink) |
| References | <aopnnb109gjouifhggg7qntmlhv2aca0ri@4ax.com> |
| X-Trace | individual.net yr6pBb2P61K4kK19ldKKvQcVqLyVTdTSIJH2pkjxH/pIPBda4= |
| Cancel-Lock | sha1:7cwle0HChCXp8nOuu+kBy7DHIbk= |
| User-Agent | XanaNews/1.18.1.6 |
| Xref | csiph.com comp.lang.clipper.visual-objects:9505 |
Show key headers only | View raw
Hi Dick, > I use IsMethod() from time to time. E.g. If > > IF IsMethod (SELF, #OnlyForSomeUsers) > Send (SELF, #OnlyForSomeUserl) > ENDIF > > It allows me to write a method OnlyForSomeUser of the same class which > is only present in one specific main program which includes the > library with the above code. I can easily extend some general > functionality for just one specific client's version without a whole > subclassing job, by calling that method OnlyForSomeUser via Send. > > Can I do something similair from within a function? I vaguely remember > there was something like that. I don't know if there is a function to check for a function existence - but you can call a function with Clipper calling convention with _CallClipFunc() passing the parameters in an array. Wolfgang --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
IsMethod() for use in functions D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-05 19:01 +0200
Re: IsMethod() for use in functions "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-07-05 20:06 +0200
Re: IsMethod() for use in functions D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-05 21:11 +0200
Re: IsMethod() for use in functions "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-07-06 08:26 +0200
Re: IsMethod() for use in functions "Karl-Heinz" <invalid@invalid.invalid> - 2016-07-05 21:19 +0200
Re: IsMethod() for use in functions D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-06 12:00 +0200
Re: IsMethod() for use in functions "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-07-06 14:55 +0200
Re: IsMethod() for use in functions "Karl-Heinz" <invalid@invalid.invalid> - 2016-07-06 21:05 +0200
Re: IsMethod() for use in functions "Karl-Heinz" <invalid@invalid.invalid> - 2016-07-07 08:18 +0200
csiph-web