behavior-based programming examples in BASIC

Feb 21, 2007 1 Replies

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



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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required