rFunc UDF Library
for InterBase (changes history) |
Legend:
+ new
- deleted
# changed
* fixed error
====================================================================
Version 2.0.1.2 20.07.2001
---------------
1.+ incdate.
Example:
select IncDate('11.07.2001', -17, 14, -2), IncDate('11.07.2001', 0, 12, 0)
from rdb$database;
2.* Quarter function.
Version 2.0.0.2 31.05.2001
---------------
1.+ blob-functions:
b_number_segments, b_max_segment, b_total_length, b_line_count,
b_substr, b_longsubstr, b_line, b_longline, b_put_segment.
2.# The extension of possibilities of the substr function:
m < 0 - counting happens from an extremity of string,
n < 0 - characters to the left of a point of counting are output.
Example:
select job_title, substr(job_title, -2, -3) from job;
Result:
Manager age
Engineer nee
3.+ initRandom, getRandom.
(!!! The availability of parameters in both calls of functions is stipulated
by a difference in operation of functions under Win32 and Linux !!!).
4.+ yearday, weekday, quarter, firstdaymonth, lastdaymonth, isleapyear, daysbetween.
5.# malloc is changed to ib_util_malloc for IB5.x and later.
6.+ bit-functions:
getBit, setBit, bitAnd, bitOr, bitXor, bitNot.
7.# All functions are separated on units:
rblob - blob-fields,
rcalc - parser,
rdatetime - date and time,
rmath - math,
rmisc - miscellany,
rsecurity - system,
rstring - string.
8.# CSTRING(255) is replaced with CSTRING(256), and CSTRING(16383) is replaced
with CSTRING(16384)
9.+ IB 6.0, Firebird 0.9 support.
10.+ dtif is analog iif, only works with dates.
11.+ padright, padleft, longpadright, longpadleft,
rtranslit, longrtranslit, rlatin, longrlatin.
12.# rupper, rlower are accelerated;
* strcount - input parameters were confused by places.
13.+ rtest.sql - script for testing and demonstrating of operation of the library.
Version 1.5.2 10.03.2000
-------------
1.+ Linux support.
2.# All int declarations are replaced with long.
3.+ EncodeDateTime, Hour, Minute, Second, ExtractTime functions.
Version 1.5.1 17.02.2000
-------------
1.* SubStr - it was impossible to cut last character from string.
Version 1.5.0 20.01.2000
-------------
1.+ SoftRound, Div, Mod, LongRUpper, LongRLower.
Version 1.4.0 27.11.99
-------------
1.+ rUpper, rLower functions.
2.# The type of the flag parameter is replaced with SMALLINT for
WordNum, LongWordNum, WordCount.
Version 1.3.2 17.11.99
-------------
1.* ltrim, rtrim, trim functions.
Version 1.3.1 16.11.99
-------------
1.* SubStr.
2.# add_user, modify_user, delete_user functions don't compile for IB 4.2 client.
Version 1.3.0 12.11.99
-------------
1.+ Following functions:
Z, dif, iif, cif, DZero, StrCount, WordCount, WordNum,
user functions: add_user, modify_user, delete_user,
MsgBox.
CalcExpr(s, inVar) - the unpretentious analyzer of expressions.
Operations:
+ - * /
Functions:
Sin, Cos, tg, ctg, AcrCos, ArcSin, ArcTg, sh, ch, th,
exp, lh, lg, sqrt, sqr, abs
sgn - number sign
log - log on the arbitrary basis
power - exponentation
if(expr, x1, x2)
Min(x1, ...) - with a unlimited amount of parameters
Max(x1, ...)
Sum(x1, ...) - toting of arguments
Avg(x1, ...) - average
Pi.
Usage example:
CalcExpr('Sin( Pi*:p11/3)*:P2', 'P11=2;P2=10')
ExprIsVal(s, inVar) - Check on a correctness of the given expression.
Version 1.2.3 26.03.99
-------------
1.+ ExtractDate.
Version 1.2.2 22.03.99
-------------
1.* Round.
Version 1.2.1 18.02.99
-------------
1.# In calls of functions of operation with long strings the type of strings
is
changed on CSTRING(16383).
2.* LongStrStuff, LongStrReplace.
3.+ StrReplace, LongStrRepeat.
4.# Parameters changed:
StrLen, StrPos - from CSTRING(255) to CSTRING(16383)
SubStr - from SMALLINT to INTEGER.
5.+ LongLTrim, LongRTrim, LongTrim, LongSubStr pseudofunctions.
6.* rfunc.bor.
Version 1.2.0 10.02.99
-------------
1.+ LongStrStuff, LongStrReplace.
Version 1.1 05.10.98
-----------
1.* StrStuff.
2.+ Ord, Chr, Round.
Version 1.0
-----------
+ Support IB 5.x. First public version.
Copyright © 2001 Polaris Software