On Sun, Nov 29, 2009 at 4:26 AM, Josh Koffman wrote: > mShiftOut macro _data, _port, _ClockPin, _DataPin, LatchPin > > If I did that, could I then use the following line within the macro? > > bsf =A0 =A0 _port,_ClockPin Yes, you could. For the sake of simplicity you can look in that way: Macro for the compiler is like a search-and-replace for your text editor. Every time you mention you macro in your 'real' code the compiler looks up your macro definition and replaces the code whatever it finds there. Tamas > > It seems to assemble, I just don't have my board ready to test it yet. > > Thanks! > > Josh > -- > A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools. > =A0 =A0 =A0 =A0-Douglas Adams > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- = /* www.mcuhobby.com */ int main() { char *a,*s,*q; printf(s=3D"/* www.mcuhobby.com */ int main() { char *a,*s,*q; printf(s=3D%s%s%s, q=3D%s%s%s%s,s,q,q,a=3D%s%s%s%s,q,q,q,a,a,q); }", q=3D"\"",s,q,q,a=3D"\\",q,q,q,a,a,q); } -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist