Calling function by reference for QB4.5/VBDOS 1.0?
-
- Veteran
- Posts: 111
- Joined: Sat Feb 21, 2009 8:19 am
- Location: New York, U.S.
Calling function by reference for QB4.5/VBDOS 1.0?
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?
Joseph Rose, a.k.a. Harry Potter
Creating magic in the computer community...or at least striving to!
Creating magic in the computer community...or at least striving to!
-
- Veteran
- Posts: 111
- Joined: Sat Feb 21, 2009 8:19 am
- Location: New York, U.S.