In SX Microcontrollers, SX/B Compiler and SX-Key Tool, natpie wrote: test var byte i get an error test var byte (2) I get an error test var word I get an error test var word (4) I get an error so how do I make an array from start to finish? I have the latest software version. [/quote] Your spaces are killing you. indexvar var byte myaray var byte(16) for indexvar = 0 to 15 myaray(indexvar) = indexvar next This should load myaray(0) with 0, myaray(1) with 1 ........ I haven't played with Version two but I don't think you can do word arays. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=372213#m372423 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)