Calling function by reference for QB4.5/VBDOS 1.0?
Posted: Mon Nov 07, 2011 10:02 am
I want to experiment with AI in BASIC and might want to create self-editing code. I want to provide code to handle each neuron. The problem is that I need to be able to "attach" a function to each neuron such that the code runs when the neuron is "fired." In an OOPS, I can simply refer to the function by name or address. However, AFAIK, the best I can do with the aforementioned BASICs is a series of SELECT CASEs. Is there a way around this?