Good point about the proportional fonts. BTW: the code in TRUNK already has include like functionality. If you call an oword that hasn't been defined in the current file, it looks for a file named oNNNN and starts reading that, looking for the oword.
I just got tired of copying the same code into multiple files. Ken [EMAIL PROTECTED] Mark Kenny Products Company, LLC 55 Main Street Voice: (888)ISO-SEVO (888)476-7386 Newtown, CT 06470 Fax: (203)426-9138 http://www.MarkKenny.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Radek Sent: Wednesday, April 18, 2007 11:02 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] bad character in G code file On Wed, Apr 18, 2007 at 10:42:48AM -0400, Kenneth Lerman wrote: > > I would like the interpreter to output a message that looks like: > > Bad character near line 79 > X-0.010+#177 Y3.0+#177 ( Back to Starting Position ) > ^ That would definitely be helpful. Another idea: compilers sometimes output errors in a format like filename:79:8: Bad character where filename is the gcode file (think ahead to when we might have includes), 79 is the line number and 8 is the column. If you would do that, you could leave it up to the GUI to present it. It could make the bad character bold, or red, for instance. This seems a lot more foolproof than using whitespace to point to the error and then trying to preserve that through GUIs that may or may not be using proportional fonts. > Would Axis (my present favorite gui -- although I'm not using it yet on my > machine) be able to handle long, multiline error messages? I see no fundamental reason why AXIS and the other GUIs couldn't be made to present a better error. It would take some effort on each GUI of course. Chris ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
