Regarding the following, Brian's code runs fine as is using the WinNT
version of Ox 2.00a. I'm still trying to get the Linux version of Ox
to run, so I don't have to much to add regarding unix problems.
Marius Ooms wrote
> Hi Brian,
>
> "Introduction to Ox", has a short section
> on program organization in Ox 2.00. It is an indexed subject.
> It answers your question in section 4.8.
(snip)
>
> Brian Caffo wrote:
> Here is a simple program that seems (to me) like
> > it should run:
> >
> > #include <oxstd.h>
> > #include <quadpack.h>
> >
> > f(x);
> > main()
> > {
> > decl a, b, c;
> >
> > QNG(f, 0, 1, &a, &b);
> > print("a = ",a, " b = ", b);
> > }
> >
> > f(x){
> > x = x^2;
> > return x;
> > }
> >
> > The error msg that it gives me is:
> > >Link error: 'quadpk' cannot load dll
> > >Link error: 'QNG' undefined function
> > For some reason it is trying to load a dll file. I am running
> > this on a SUN Ultra which to my knowledge does not use dll files.
> > Am I just being dumb?
> >
> > Brian Caffo
>
> --
> Marius Ooms mailto:[log in to unmask]
> Econometric Institute, Erasmus University Rotterdam
> PO Box 1738,NL-3000 DR Rotterdam,tel:(+31)104081281
> Editor Econometric Links The Econometrics Journal
> http://www.eur.nl/few/ei/links
>
Dr. Michael Creel
Dept. d'Economia i d'Historia Economica
Edifici B
Universitat Autonoma de Barcelona
08193 Bellaterra (Barcelona)
Spain
FAX. 34-93-581-2012
Tel. 34-93-581-1696
[log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|