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
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
snipped-for-privacy@byrley-law.com wrote:

I've seen a few. One is here:
http://www.seattlerobotics.org/encoder/200210/prj4/scrob.htm
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
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.