SPL
SPL is the Systems Programming Language for the Classic 3000. SPL is Qedit’s default language, so you don’t need a configuration command in Qeditmgr to set it.
/spl * {compile SPL workfile} /set lang spl {identify code as SPL} /list "cust"(smart) {ignore cust'rec} /aj 55 {justified = indented}
There is also a native-mode SPL compiler for MPE/iX, Splash from Allegro. The Splash compiler reads Qedit workfiles without a Keep and can generate an “error file” that is compatible with the :Editerror command. You can edit a Splash program within Qedit, use the Splash UDC to compile it, and automatically have Qedit position you to the proper spots in each source file where you have compile errors.
The UDC file is named Splashu.Pub.Splash and contains two UDCs of interest, :SPLASH, and :SPLLK. In each of them, you will want to add a :File equation such as FILE SPLERRS = SPLERRS to generate the error file. This causes the Splash compiler to emit a permanent disc file named SPLERRS.
Then add the following command after the :Run of the compiler:
editerror splerrs visual
This command will find the first error, if any, and print the error message and the line. If you then return to Visual, Qedit will be at the proper spot, with the compiler error message at the top of the screen. You use the F4 key to find the next error, F3 to go back to the previous error, or F8 when you are done fixing errors.
If you have many programmers that use the same logon group, you will be stepping on each other’s Splerrs files. Modify the :File equation and the :Editerror command to specify a unique file name for each programmer. This is not difficult on MPE/iX. For example, use HP variables that store the User Name or the Session Name as part of the unique file name.