So if I got this right I could use it like this...
So whenever I call the Integrate function one of the three other functions are called depending on which of those I set the Function pointer to?
Local Integrate(timestep#) Function IntegrateEuler(timestep#) 'Do Euler integration End Function Function IntegrateRK2(timestep#) 'Do RK2 integration End Function Function IntegrateRK4(timestep#) 'Do RK4 integration End Function Select IntegrateMethod$ Case "EULER" Integrate=IntegrateEuler Case "RK2" Integrate=IntegrateRK2 Case "RK4" Integrate=IntegrateRK4 End Select
So whenever I call the Integrate function one of the three other functions are called depending on which of those I set the Function pointer to?