Please enable JavaScript to view this site.

A-Shell Reference

For maximum flexibility, the DEBUG.xxx and TRACE.xxx statements are actually compiled as:

xcall EVTWIN, opcode, string {,optional args}

where opcode is made up of the following parts:

Value

Meaning

&h0001

Open

&h0002

Print (or pause)

&h0003

Close

&h0100

Debug (versus trace)

&h0200

Pause (wait for double-click)

 

EVTWIN.SBR is included in A-Shell, but if you don't like the way it works, you could theoretically replace it by using an alias and supplying your own SBX. Also, under AMOS, or versions of A-Shell prior to 4.9.963, if you want to be able to run programs containing such statements and compiled with /RC, you would need to supply a dummy EVTWIN.SBR, so that the statements had no effect, or if you are really ambitious, create one that does something useful. The simplest null SBX would be a program containing just an END statement, with the RUN renamed to SBX.