[comp.databases] DB-III+ MATH support

nacer@mist.cs.orst.edu (Abdenacer Moussaoui C.) (01/10/88)

From what I have tried there is no support for sin() cos() functions.
May be clipper supports them however I don't want to loose the interpretive
mode of db3+ at least at this stage.
(1)  I think db3+ supports some sort of object code loading, has anybody
      implementated such "basic" trig stuff in whatever (asm,c,...) ???
(2)  Is there such thing as user-defined function in db3+?
(3)  How to go about setup some mem-vars to simulate predefined constants
     such as PI for example?
     

Thank you.
--nacer

wew@naucse.UUCP (Bill Wilson) (01/16/88)

In article <1822@orstcs.CS.ORST.EDU>, nacer@mist.cs.orst.edu (Abdenacer Moussaoui C.) writes:
> From what I have tried there is no support for sin() cos() functions.

You may want to try getting a copy of C programming tools for dBASE.
They include a number of stat and math functions not supplied in
DB3+.  It is available from Ashton-Tate.
   
> (2)  Is there such thing as user-defined function in db3+?

No, only third party packages like clipper support them directly.
The C toolbox will let you produce new functions that can be called. 

Bill Wilson