Shop OBEX P1 Docs P2 Docs Learn Events
Is 500 Lines of PBASIC too little? — Parallax Forums

Is 500 Lines of PBASIC too little?

ArchiverArchiver Posts: 46,084
edited 2001-08-29 18:45 in General Discussion
I was browsing Parallax's BASIC Stamp offerings, and found every
qualification to meet my needs except one: The statement that it has
500 Lines of PBASIC doesn't seems like quite a lot; does anyone have
experience with this? Is 500 lines of PBASIC enough for most uses or
is it too little?

Thanks,
Ben

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-08-29 16:07
    In a message dated 8/29/01 9:02:34 AM Central Daylight Time,
    bwoodacre@y... writes:


    > I was browsing Parallax's BASIC Stamp offerings, and found every
    > qualification to meet my needs except one: The statement that it has
    > 500 Lines of PBASIC doesn't seems like quite a lot; does anyone have
    > experience with this? Is 500 lines of PBASIC enough for most uses or
    >

    Keep in mind that PBASIC was designed for embedded applications, so one line
    of code can do quite a bit of work. I've written some fairly serious
    applications for the Stamp and never run out of space. Efficient coding is
    the key.

    If you do, in fact, need more code space, the BS2e, BS2sx and BS2p all have
    multiple (8) program banks and a shared RAM space (not part of the normal
    variables) that can be used to pass data back and forth between them.

    -- Jon Williams
    -- Applications Engineer, Parallax




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-29 18:45
    You can fit a butt-load of code into the BS2's, and the multiple program
    banks make it easy to write a large program.

    Best thing to do is write the code you want, then study examples in the
    various Parallax documents to help you improve the speed and decrease the
    memory used. Lots of good tips in the educational documents, and they are
    free. The Nuts & Volts books are good also, and cover a broader spectrum of
    applications. I'm about 1/2 way through book one and already it has helped
    me code more better <grin>/

    Original Message

    > > I was browsing Parallax's BASIC Stamp offerings, and found every
    > > qualification to meet my needs except one: The statement that it has
    > > 500 Lines of PBASIC doesn't seems like quite a lot; does anyone have
    > > experience with this? Is 500 lines of PBASIC enough for most uses or
    > >
    >
    > Keep in mind that PBASIC was designed for embedded applications, so one
    line
    > of code can do quite a bit of work. I've written some fairly serious
    > applications for the Stamp and never run out of space. Efficient coding
    is
    > the key.
    >
    > If you do, in fact, need more code space, the BS2e, BS2sx and BS2p all
    have
    > multiple (8) program banks and a shared RAM space (not part of the normal
    > variables) that can be used to pass data back and forth between them.
Sign In or Register to comment.