Shop OBEX P1 Docs P2 Docs Learn Events
Help connecting routines. — Parallax Forums

Help connecting routines.

lousyshotlousyshot Posts: 11
edited 2013-02-07 09:56 in BASIC Stamp
With my Boe Bot I have programmed several smaller routines, call them circle, square, triangle. How do I connect or combine them into one long routine. Be nice and simple, this is very confusing to me.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2013-02-07 09:56
    It all depends on your routines and how they relate to each other. You really would need to post your routines for us to give you specific advice. See this:

    attachment.php?attachmentid=78421&d=1297987572

    Sometimes people make each of this sort of smaller routine into a subroutine and create a main program which calls them in order. Look in the Basic Stamp Syntax and Reference Manual sections on GOSUB and RETURN.
Sign In or Register to comment.