behavior-based programming examples in BASIC

Hi all,

I am looking for samples or examples of behavior-based programming code (a la Joseph L Jones' book) in BASIC. I am not very familiar with C or Java, and all the examples in that book are in those languages.

Thanks for any help!

John Byrley

Reply to
jbyrley
Loading thread data ...

I've seen a few. One is here:

formatting link
The basic idea is to have some form of message pump or loop (event scheduler), and one or more switch statements to handle events.

Try looking for compiler-specific examples. Some popular Basic and Basic-like compilers used in robotics include Bascom AVR and OOPic.

-- Gordon

Reply to
Gordon McComb

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.