Okay, here's a list of functions I think should go into variable vtables.
Functions marked with a * will take an optional type offset so we can
handle asking for various permutations of the basic type.
type
name
get_bool
get_string *
get_int *
get_float *
get_value
set_string *
set_int *
set_float *
set_value
add *
subtract *
multiply *
divide *
modulus *
clone (returns a new copy of the thing in question)
new (creates a new thing)
concatenate
is_equal (true if this thing is equal to the parameter thing)
is_same (True if this thing is the same thing as the parameter thing)
logical_or
logical_and
logical_not
bind (For =~)
repeat (For x)
Anyone got anything to add before I throw together the base vtable RFC?
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk