Function pointer?

Blitz3D Forums/Blitz3D Programming/Function pointer?

ZJP(Posted 2009) [#1]
Someone has found the solution there?

JP


big10p(Posted 2009) [#2]
Uh? There are no function pointers in Blitz3D.


GIB3D(Posted 2009) [#3]
Whatsa function pointer?

Wouldnt that just be..

Pointer() ; <<< The pointer

Function Pointer()

End Function



Gabriel(Posted 2009) [#4]
Whatsa function pointer?

Something which holds the address in memory of a function. Literally, something which "points" to the function.


Warner(Posted 2009) [#5]
The most easy solution would be this:
select func

case 1
   function1()
case 2
   function2()
case 3
   function3()

end select

There is however, a DLL:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1639
Or here:
http://www.blitzmax.com/Community/posts.php?topic=83420


ZJP(Posted 2009) [#6]
Thx Warner. Goods links ;-)


JP
Edit : I've posting an update here : http://www.blitzmax.com/Community/posts.php?topic=83420