You are not logged in.
This one is just a piss-off, not really a bug.
Make a script, call it "waffle", have it be "return argument0"
Now do this:
t = waffle
x = script_execute( t, 10 )
x will now equal 10, obviously. However, you can't directly reference a built-in function and this simply bugs me. You have to write stupid wrapper for everything.
Hello? Callbacks anybody? It's ridiculous that this isn't done properly, I should be able to make a variable that refers to any functions!
On top of that, and this is just wishful thinking, but this would be nice:
hash_interface = sqrt
hashed_n = hash_interface(n)
IE, getting rid of that whole script_execute stage that is so annoying.
Offline
I agree that not being about to access built-in functions by reference can be pretty annoying.
Abusing forum power since 1986.
Offline