Quick Start Guide

Writing a Simple System RPL Program
Now we're ready to create a source file with a simple System RPL program. Go to the Files tab of the Project window and select Project -> New Source File. Name the new source file try.s, for example. It will show up in the file list. Furthermore, the editor window will open, containing simple header information.

Below the header, we can start writing our System RPL code. Our example consists of a simple routine MYTRY which calls another (unnamed) subroutine SUBPROGRAM. Copy the following and paste it into the edit window:



EXTERNAL SUBPROGRAM
ASSEMBLE
        CON(1)  8
RPL
xNAME MYTRY
::
  CK1&Dispatch
  ZERO ::
    ( Calling a sub-program )
    SUBPROGRAM
    "Well Done" %1 xDISP %7 xFREEZE
  ;
;

NULLNAME SUBPROGRAM
::
  % 500 % .05 xBEEP
;

If you want to reopen the source file at a later time, you only have to double-click the file name in the Project window.

Back ] Next ]