LB Booster
Programming >> Language extensions >> LB 4.5 beta 3 functions
http://lbb.conforums.com/index.cgi?board=extensions&action=display&num=1423780120

LB 4.5 beta 3 functions
Post by Cor on Feb 12th, 2015, 9:28pm

Hi Richard,

Are these four beta 3 functions recognised by LBB 2.86?
UPTO$
AFTER$
AFTERLAST$ and
ENDWITH

If not, will they be?

I've started using them until the 'expiration date' message started me thinking. I've seen promises of new releases go on and on and on and this beta seems to have landed in that rut.
Re: LB 4.5 beta 3 functions
Post by Richard Russell on Feb 12th, 2015, 10:06pm

on Feb 12th, 2015, 9:28pm, Cor wrote:
Are these four beta 3 functions recognised by LBB 2.86? If not, will they be?

See this post, where I list replacement User-Defined Functions that are in most cases at least as fast as the ones in LB4.5:

http://lbb.conforums.com/index.cgi?board=lblang&action=display&num=1415835384&start=1

As discussed later in that thread, I recommend copying those functions into a separate file which you pull into your program (after the END statement) using LBB's 'include directive.

What will then happen is that when you run (or compile) your program in LBB the UDF's will be used, but when you run it in LB4.5 the 'include will be ignored and the native functions used instead, thus maintaining compatibility.

If you notice any functional differences between my UDFs and the LB4.5 functions let me know so I can make the necessary changes.

Richard.