[Implemented] Function pointers
Posted: Thu Oct 06, 2005 12:25 pm
I would like to see something like
in PB.
CallFunctionFast has some disadvantages:
- needs some more time
- long name
- not as readable as my requests
- needs a wrapper function again for floats and better readability
Code: Select all
Declare.l test(a.l)
test() = IsFunction(0, "spk")
test(4)
and
CDeclare.l test(a.l)
test() = IsFunction(0, "spk")
test(4)
or
*test = IsFunction(0, "spk")
*test(4)
CallFunctionFast has some disadvantages:
- needs some more time
- long name
- not as readable as my requests
- needs a wrapper function again for floats and better readability