In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Rsadeika wrote: The building of the arrays is not the problem. When I construct the array, the program compiles correctly, but when the program is run, the thing does not run correctly. I dug out Jon's original SIRCS program to play with, this is a non isr version. It has a subroutine called GET_SIRCS, and two key variables, cmdCode, and devCode. As soon as I put those two variables into an array, and insert the 'bank xxxx', the program does not work as expected. As I take the two variables out of the array, then it works properly. The compiler never shows an error or gives any warning as to potential other problem. I am starting to wonder if this may be a compiler problem. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=182347#m182708 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)