Remote Control Mode
Development of basic programs becomes more comfortable if one can use an editor on the pc.
Connect your pv with the pc. Start OWBasic. Switch to remote control mode via the options menu.
Use an editor on pc to write your program. Store all parts as files with extension .bas for the main program, .inc for include files and .app for append files in one directory.
Call owbrc with the name of the main program (without extension):
owbrc myprog
If you use another port than COM2 for the connection add the number of the port to the commandline (0 = COM1, 1 = COM2, ...)
owbrc myprog 0
owbrc sends all required parts of your program to the pv and OWBasic compiles it. In case of success the program is started. Error messages are reported on pc by owbrc.
If you use emacs you can call owbrc directly (META-x compile) and go directly to the place of errors (META-x next-error).
This works on pc with Linux and Windows.
The editor ConText (www.context.cx) for Windows also allows writing and debugging OWBasic programs from PC, in addition it can be used with a special syntax file what enables ConText to highlight keywords, procedures and functions. More information and the syntax file by Joachim Kromm can be found at www.wie-geht.de/viewtopic.php?id=223 .
|