big night last night
i've substantially diddled the function handler/logic black box in the guts of HTDB.
all scripts *should* be 100% backwards compatible even though this was a pretty considerable movement of code. i moved quite a number of builtin functions into the core dso function file, so the static htdblib.a is somewhat smaller.
basically, we're handling builtin functions (such as encrypt(), getval()) now in the same manner as dso functions..
before, dso functions could only be *called*, they could not be used in conditionals. now, any function you make up can be used in conditional statements just like builtins.
all function lookups go against an internal hashtable now instead of the previous array walk, so it is minorly faster as well.
also getval()/getnum() are the same thing - the way the operator is used is dependent upon the perceived *type* of the data returned and used in the conditional.