SX-Key v3.10 - Editor enhancement
Mike Cook
Posts: 829
Any chance of adding:
/*
*/
to the editor so it would be easier to comment out a chunk of code?
Just a thought ( I have a few from time to time!)
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $19.99
Product web site: http://www.allsurplus.net/Axiom/
/*
*/
to the editor so it would be easier to comment out a chunk of code?
Just a thought ( I have a few from time to time!)
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $19.99
Product web site: http://www.allsurplus.net/Axiom/
Comments
Probably not, but never say never. First, the /* */ construct is a C idiom, so it's a little out of place in an assembly language source file. Certainly a case could be made for the usefulness of it, but the construct is definitely coming in from another place. Second, remember how Dorothy always had the ability go home? Well, you may not have ruby red slippers, but you certainly have ifdef, etc. Want to make a chunk of code (as big as you like) stop compiling? Try this:
The best part? If you want to make the code re-appear, just define the constant.
Thanks, PeterM
Thanks Peter
Working with SX/B right now and should have added that detail to my original post. It's been a few years since I've done assy, last I can remember is with the 16c84.
Guess I'm getting lazy in my old age with some of the C coding I've been doing lately!
I guess I should have stated "Is it possible to have Conditional Compilation Directives like the Basic Stamp Editor has"
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $19.99
Product web site: http://www.allsurplus.net/Axiom/
Post Edited (Mike Cook) : 11/16/2005 3:02:58 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I just always assume that folks write in assembly. Adding some sort of conditional compilation syntax (or C style block comments) is actually a function of the compiler as opposed to the IDE. Since I don't handle the SX/B compiler (just SASM and the IDE), I guess I'm off the hook for now. Jon's previous post covers the issue in a little more detail.
Thanks, PeterM