Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5178
| From | "Karl-Heinz" <invalid@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Overwriting Today and Seconds |
| Date | 2013-04-30 11:37 +0200 |
| Message-ID | <au9hppFhfmvU1@mid.individual.net> (permalink) |
| References | <klnsqb$i66$1@dont-email.me> |
Hi Arne, >I would like to overwrite the two functions Today and Seconds. For one >customer I have to adjust the OS date and time using a time zone model. But >I need also the originally functionality, calling the original functions in >the VO28Run dll or having a substitute for both functions. 1. To be able to use the original functionality later on, import the desired function with a different name. 2. Overwrite the original function and add your business logic. ------------------------ _DLL FUNCTION DefaultToday() AS DATE PASCAL:VO28RUN.Today ------------------------- FUNCTION Today() AS DATE PASCAL LOCAL d AS DATE IF Specialcondition d := .... ELSE d := DefaultToday() ENDIF RETURN d --------------------- regards Karl-Heinz
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Overwriting Today and Seconds "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2013-04-30 09:48 +0200
Re: Overwriting Today and Seconds "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-04-30 10:11 +0200
Re: Overwriting Today and Seconds Malcolm G <malcolm-news2012delete@delete.jobstream.com> - 2013-04-30 09:24 +0100
Re: Overwriting Today and Seconds "Karl-Heinz" <invalid@invalid.invalid> - 2013-04-30 11:37 +0200
Re: Overwriting Today and Seconds "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2013-04-30 12:07 +0200
csiph-web