Pascal
To tell Qedit that you are working on a Pascal program do Set Lang Pascal. If Pascal is your primary language, putting this Set option in Qeditmgr. Pub.Robelle (your Qedit configuration file) makes Pascal the default choice. You compile your Qedit workfile directly with either a Classic compiler or a native-mode compiler. For NM compilers, you must first stream Qcompxl.Qeditjob to adjust the command files (see Step 5 in the installation chapter). For CM compilers, you must first stream Qeditj1 or Qeditj1a to adjust the compiler program files (see Step 6 in the installation chapter).
/text pas.source /set lang pascal /pascal * {standard MPE compiler} /pasxl * {native-mode compiler}
The :EDERR UDC compiles your Pascal source file, finds the errors, and displays the source and error messages on the screen for correction. See Editerr above for details:
/ederr pasxl,* /ederr pascal,src
Other Qedit options of interest:
/list "cust"(smart) {ignore "cust_rec"} /text file,pascal {make external file pascal} /aj 55 {justified = indented}
The MPE V HP Pascal compiler can abort with a stack overflow when compiling large programs. To avoid this abort, insert the $bigcompile$ option at the start of your Pascal source file.