In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: Rsadeika, Many SX/B commands will work fine with array variables. A few (notably an index into an array) will not. You do not need to put every variable into an array. Since the UART variables were initially part of an array, they should be happy in an array. Why change them? And if the SIRCS variables do not work as part of an array, why try to change them? If you followed my previous recommendation, the UART should have 12 variables as part of the [B]Serial VAR BYTE(16)[/B] array. (It is ok to think of this as a bank. The [B]BANK Serial[/B] statement ensures the proper bank is selected for that subroutine section.) If that is how you have those variables defined, then I count 11 other general-purpose bytes being used by the MyBot.sxb program. It does not appear to me that you should be experiencing a variable space problem yet. Perhaps I do not understand what you are trying to accomplish. - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=182347#m182712 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)