In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: You know, I find myself doing a lot of copy-and-paste between SX/B programs and for the book I thought I should explore LOADing external SX/B segments. I've attached the results of my experiment which save me the trouble of copy-and-paste, and do seem to work. I think the keys to this is remember that SX/B is a single-pass, compile-in-place compiler -- so you'll see that I've consider this in the way I created my files: one for the SUB/FUNC declarations and a second file for the code for those subroutines and functions. What my experiment counts on, however, is a consistent set of variables for subroutines and functions, and I document these requirements in my external files. I hope this helps. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194842#m195141 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)