Shop OBEX P1 Docs P2 Docs Learn Events
Multi-bank editor Problem — Parallax Forums

Multi-bank editor Problem

staffshomestaffshome Posts: 28
edited 2009-10-28 00:06 in BASIC Stamp
Hi all Starting to try multibank programming,created 3 files & when do syntax check get this error
EXPECTED "}",CAN NOT SPECIFY PROJECT FILES OUTSIDE OF PROJECT PROGRAM0· ( upper case for exact error box dialogue ).
files attached ,they are blank except for header lines.
if you close any of the three they all close & open in same way ???
anyone know what i am doing wrong.

Regards Adrian

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2009-10-27 11:51
    Just put the list of programs in the slot 0 program.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com
    ·
  • JDJD Posts: 570
    edited 2009-10-28 00:06
    Staffshome,

    Currently you have the following on your main program:
    ' {$STAMP BS2p,PaddlesV2Slot0.bsp,PaddlesV2Slot1.bsp,PaddlesV2Slot2.bsp}
    ' {$PBASIC 2.5}

    Try changing it to this.
    ' {$STAMP BS2p,PaddlesV2Slot1.bsp,PaddlesV2Slot2.bsp}
    ' {$PBASIC 2.5}

    You will have the slot 0 program as a standard BASIC Stamp directive, and the other slots as the file name. Here is a article that should also help with programming across multiple slots.

    Also, in the other 2 programs you can use the standard BASIC Stamp directives.
    ' {$STAMP BS2p}
    ' {$PBASIC 2.5}

    Multi-slot Programming:
    Nuts & Volts Volume: 3 [noparse][[/noparse] article 87 ]
    http://www.parallax.com/Resources/NutsVoltsColumns/NutsVoltsVolume3/tabid/445/Default.aspx

    I hope this helps,

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Respectfully,


    Joshua Donelson
    www.parallax.com
Sign In or Register to comment.