Subject Re: [firebird-support] Re: Open to suggestions: building a tree
Author Helen Borrie
At 07:18 PM 23/08/2003 +0000, you wrote:

>And, Helen, somewhere in my utils I've something I wrote back in my TP
>3 days that parsed strings. I was kind of hoping I could work
>something out inside FB.

I've done similar with ObjectPascal and ObjectPal routines. There's not
enough internal string function support to not use UDFs. If you go this
route, get acquainted with the "Big Three" first - ib_udf, fbudf and

If you're using Fb 1.5, there's now the added benefit of being able to
break out of loops (see the LEAVE statement).

Since a Breakapart type of routine doesn't access database objects, another
(better) way to go would be to keep your old fave TP routines in TP and
make them into UDFs. You can compile them in Delphi. There's a HowTo for
making Delphi UDFs at the IBPhoenix website.