Function pointer?
Blitz3D Forums/Blitz3D Programming/Function pointer?
| ||
Someone has found the solution there? JP |
| ||
Uh? There are no function pointers in Blitz3D. |
| ||
Whatsa function pointer? Wouldnt that just be.. Pointer() ; <<< The pointer Function Pointer() End Function |
| ||
Whatsa function pointer? Something which holds the address in memory of a function. Literally, something which "points" to the function. |
| ||
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 |
| ||
Thx Warner. Goods links ;-) JP Edit : I've posting an update here : http://www.blitzmax.com/Community/posts.php?topic=83420 |