Shop OBEX P1 Docs P2 Docs Learn Events
Can you create a multi dimensional array in Basic? — Parallax Forums

Can you create a multi dimensional array in Basic?

GooberTekGooberTek Posts: 14
edited 2008-06-21 20:44 in BASIC Stamp
Can you create a multi dimensional array in Basic?

Or

Can I store a binary number "01010101" in·a word pull out each digit into a bit variable?

Rob

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-06-21 20:44
    1) There are no built-in multidimensional array in PBasic. You can implement multiple dimensions using one dimensional arrays, but keep in mind the limited storage available in the Stamps (26 bytes).

    2) Look in the PBasic manual around page 90 for modifiers that let you access individual bits
Sign In or Register to comment.