$T.REX: Difference between revisions

Content added Content deleted
(→‎$T.REX: added/changed comments and whitespace, simplified some code.)
m (→‎$T.REX: added whitespace.)
Line 1: Line 1:
[[Category:REXX library routines]]

==$T.REX==
==$T.REX==
This is the   '''$T.REX'''   (REXX) program which is used by many other REXX programs to display error or informational message(s),
This is the   '''$T.REX'''   (REXX) program which is used by many other REXX programs to display error or informational message(s),
Line 44: Line 46:


The   '''$T'''   REXX program makes use of   '''LINESIZE'''   BIF   which returns the terminals width (linesize).
The   '''$T'''   REXX program makes use of   '''LINESIZE'''   BIF   which returns the terminals width (linesize).
<br>Some REXXes don't have a &nbsp; '''LINESIZE''' &nbsp; BIF, so one is included here &nbsp; ──► &nbsp; [[LINESIZE.REX]].
<br>Some REXXes don't have a &nbsp; '''LINESIZE''' &nbsp; BIF, &nbsp; so one is included here &nbsp; ──► &nbsp; [[LINESIZE.REX]].




The &nbsp; '''$T''' &nbsp; REXX program makes use of &nbsp; '''SCRSIZE''' &nbsp; BIF which returns the terminals width (linesize) and depth.
The &nbsp; '''$T''' &nbsp; REXX program makes use of &nbsp; '''SCRSIZE''' &nbsp; BIF which returns the terminals width (linesize) and depth.
<br>Some REXXes don't have a &nbsp; '''SCRSIZE''' &nbsp; BIF, so one is included here &nbsp; ──► &nbsp; [[SCRSIZE.REX]].
<br>Some REXXes don't have a &nbsp; '''SCRSIZE''' &nbsp; BIF, &nbsp; so one is included here &nbsp; ──► &nbsp; [[SCRSIZE.REX]].




The &nbsp; '''$T''' &nbsp; REXX program makes use of &nbsp; '''DELAY''' &nbsp; BIF which delays (sleeps) for a specified amount of seconds.
The &nbsp; '''$T''' &nbsp; REXX program makes use of &nbsp; '''DELAY''' &nbsp; BIF which delays (sleeps) for a specified amount of seconds.
<br>Some REXXes don't have a &nbsp; '''DELAY''' &nbsp; BIF, so one is included here &nbsp; ──► &nbsp; [[DELAY.REX]].
<br>Some REXXes don't have a &nbsp; '''DELAY''' &nbsp; BIF, &nbsp; so one is included here &nbsp; ──► &nbsp; [[DELAY.REX]].




The &nbsp; '''$T''' &nbsp; REXX program makes use of &nbsp; '''SOUND''' &nbsp; BIF which produces sounds via the PC speaker.
The &nbsp; '''$T''' &nbsp; REXX program makes use of &nbsp; '''SOUND''' &nbsp; BIF which produces sounds via the PC speaker.
<br>Some REXXes don't have a &nbsp; '''SOUND''' &nbsp; BIF, so one is included here &nbsp; ──► &nbsp; [[SOUND.REX]].
<br>Some REXXes don't have a &nbsp; '''SOUND''' &nbsp; BIF, &nbsp; so one is included here &nbsp; ──► &nbsp; [[SOUND.REX]].




Line 982: Line 984:
syntax: !sigl= sigl; call er 13,!fid(2) !fid(3) !sigl !cal() condition('D') sourceline(!sigl)
syntax: !sigl= sigl; call er 13,!fid(2) !fid(3) !sigl !cal() condition('D') sourceline(!sigl)
wit: call dsay arg(1); call wr arg(1); return</lang>
wit: call dsay arg(1); call wr arg(1); return</lang>

[[Category:REXX library routines]]