Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Reviewed and revised April 2024

xcall EVTWIN, opcode, {,arg1, ...}

The subroutine EVTWIN displays messages to the system message window. It is primarily used internally to implement the TRACE and DEBUG statements, which are translated into EVTWIN statements by the compiler, but can be called directly like any other subroutine.

Parameters

opcode  (Bitmap 16)  [in]

Action to perform, coded per the following table.  Specify one of the first three options (Open, Print, Close) and zero or more of the last two.

Value

Meaning

&h0001

Open

&h0002

Print

&h0003

Close

&h0100

Debug (versus trace)

&h0200

Pause (wait for double-click)

 

arg1, ...  (String or Num)  [in]

zero or more arguments whose values will be displayed in a single output line

Comments

If you don't like the way the TRACE.PRINT statements look, you can replace the internal EVTWIN with your own EVTWIN.SBX.

See Also