Shop OBEX P1 Docs P2 Docs Learn Events
Pink string variables — Parallax Forums

Pink string variables

mbmoshermbmosher Posts: 13
edited 2006-05-11 02:44 in BASIC Stamp
Hello all, I was wondering aboutpink string variables. specifically from my understanding each pink variable can hold up to 64 bytes of data while the bs2 series can only hold a total of 26 bytes of variable data. If I wanted to have a web form with text fields how can I get at those extra 40 bytes of pink data? I realize I can use one byte(xx) variable to read multiple text fields in as long as I send them out to my serial device before reading in more data, is ther a way to read, say, half a pink variable in and then the next half?

Thanks for any help you can give,
Matthew

www.matthewbmosher.com

Comments

  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-05-05 14:38
    The example in the PINK documentation uses a BS2P and the scratch pad ram to grab bytes. For the BS2 this obviously isn't an option.

    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • mbmoshermbmosher Posts: 13
    edited 2006-05-11 02:44
    Is there a way to do this with the BS2SX? It has the scratch pad ram but not the SPSTR function...

    thanks!
Sign In or Register to comment.