Shop OBEX P1 Docs P2 Docs Learn Events
different program slots — Parallax Forums

different program slots

yukiyuki Posts: 2
edited 2007-06-28 23:39 in BASIC Stamp
I am working on a Basic Stamp 2pe and I believe that it has eight slots for different programs. I was wondering how to download them to these different slots. Can it be done just by adding the programs in the directive of the first program ?
i.e.
{$STAMP BS2pe, prog2.BSPE, prog3.BSPE}

and then the first program would be in slot 0 and program 2 would be in slot 1 and so on?

Thanks in advance

Comments

  • ZootZoot Posts: 2,227
    edited 2007-06-28 23:39
    That's correct. Depending on the preferences you set in your Stamp editor, you can have the tokenized programs only download to their slots if they have been changed, or you can have all the programs download to their slots everytime. See the Pbasic manual for details.

    You may also want to check out Tracy Allen's excellent write-up on multi-slot program and routine management (the theory and techniques are the same for all flavors of multi-slot Stamps):

    www.emesystems.com/BS2SX.htm#variables

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST
Sign In or Register to comment.