Home > Archive > Programming with dBASE > October 2005 > Using procedures / functions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using procedures / functions
Charles Lasitter

2005-10-11, 7:27 am

I'm trying to use some interesting string functions written by others contained in this archive:

http://www.goldenstag.net/dbase/liw55b.zip

I've succeeded at feeding dBase the "STRINGX.CC" file, and it creates a "STRINGX.C0" file from that, but every time I attempt to call a function, it complains about the absense of a .PRG file or about variables being not defined.

Where should I put this file and what other settings should I make for dBase to be able to use some of these functions?

Thanks.
Ken Mayer [dBVIPS]

2005-10-11, 7:27 am

Charles Lasitter wrote:
> I'm trying to use some interesting string functions written by others contained in this archive:
>
> http://www.goldenstag.net/dbase/liw55b.zip
>
> I've succeeded at feeding dBase the "STRINGX.CC" file, and it creates a "STRINGX.C0" file from that, but every time I attempt to call a function, it complains about the absense of a .PRG file or about variables being not defined.
>
> Where should I put this file and what other settings should I make for dBase to be able to use some of these functions?


Did you try reading the directions in the dUFLP? README.TXT explains a
lot ...

You have to create an instance of the StringEX class ...

oString = new StringEX()
? oString::somemethod(
)
where "somemethod" is the name of the "function" ...

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Charles Lasitter

2005-10-11, 7:27 am

Ken Mayer [dBVIPS] Wrote:

> Did you try reading the directions in the dUFLP? README.TXT explains a
> lot ...


I was utterly ignorant of dUFLP, but 10 minutes worth of searching, and a little reading, and now it works exactly as advertised.

Many thanks!

Ken Mayer [dBVIPS]

2005-10-11, 7:27 am

Charles Lasitter wrote:
> Ken Mayer [dBVIPS] Wrote:
>
>
>
>
> I was utterly ignorant of dUFLP, but 10 minutes worth of searching, and a little reading, and now it works exactly as advertised.
>
> Many thanks!


Sure. The dUFLP is a handy library, if I may say so (being the
creator/librarian). If you move up to the 32-bit world, you'll find it
even more amazing and useful (tons more stuff ...).

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com