I got a wordfile for ultraedit which does some really nice Syntax highlighting for PBasic code. However, I’m trying to configure UltraEdit to have a button that automatically loads the code onto the robot. Is there a dos-based loader that I can use to completely tokenize and load a pbasic program file?
Just looking for a way to execute a single command to have the program loaded onto the robot controller.
Ok, this is pretty cool. There’s been some talk about writing a program that does syntax highlighting and stuff, but now there’s no need to.
UltraEdit has syntax highlighting for PBasic code, and it’s basically a full-fledged mini-IDE. Project support and all. What’s cool, however is the ability to execute an arbitrary command on the current file open in the editor. I’ve configured a tool that will automatically compile and download the file being edited to the stamp.
Attached is a screenshot if you’re interested, of syntax highlighting working after downloading the code to the stamp.
Finally, does anyone know if it’s possible to get slightly better messages from the command-line download process? UltraEdit has the intelligence to automatically take you to lines with errors on them, if it sees text like “Error on line 52”
*Originally posted by Jeff McCune *
**Finally, does anyone know if it’s possible to get slightly better messages from the command-line download process? UltraEdit has the intelligence to automatically take you to lines with errors on them, if it sees text like “Error on line 52” **
If you did a full installation of the BASIC Stamp Editor, it installed a “Stamp Editor.PDF” file in its program directory (C:\Program Files\Parallax Inc\Stamp Editor v2.0 Beta 1, by default.) This document describes the message formats and error messages produced by the editor.
If you need the messages in a standard format, you’ll have to reformat them yourself. Shouldn’t be too hard if you are able to get UltraEdit to execute StampW.exe – just pipe its output through your custom filter to reformat it, and then let UltraEdit do its thing.