interval operations

Michal Hajek <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAJ7z5afKZtPN-E8bSvkfoDfxGvfa=7EEX0v2RPnR3jAeigWMTA@mail.gmail.com>
Hi,

this code works in Informix 4gl, but not in aubit 4gl:

...
  when (extend(PAC.dkonec, year to month) - extend(PAC.dstart, year to
month) > "0000-01")
...

It gives runtime error

Error status number -30253.
Can't use interval YEAR-MONTH and DAY-FRACTION together.

I suppose meaning of the code is clear. How to re-write it for Aubit?

Thanks, Michal

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.