In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bernoulli wrote: Gents, I have taken Gunther's TUTO40.SRC code from his [i]Programming the SX Microcontroller[/i] and wanted to take some of the various parts of the program and make them INCLUDE files. I know there is a limit of 10 INCLUDE statements per code, but I am getting an error when I only get to five INCLUDE statements for this program. Attached is a ZIP file which contains Gunther's original TUTO40.src file and the files I created through removal of various parts of his program and made them INCLUDE files. When I go to compile the program (TUTO40 Revised.src), I get a Microsoft crash report saying there has been an encountered error in SASM.dll. Now, if I remove the 'include "ProgramData.inc" ' and place that file back into the main code, it compiles fine. After you place that file back into the main code, now [i]uncomment[/i] ';include "test.src" ' and you will see that you get the same error response. Strangely to me is that the test.src file only contains a ";" command. I am sure there is something very simple I am overlooking, but I just cannot see it. Can anyone help me understand what I am failing to recognize? Thank you, Gary ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=255746 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)