$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: | ||
⚫ | |||
==$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 '''LINESIZE''' BIF, so one is included here ──► [[LINESIZE.REX]]. |
<br>Some REXXes don't have a '''LINESIZE''' BIF, so one is included here ──► [[LINESIZE.REX]]. |
||
The '''$T''' REXX program makes use of '''SCRSIZE''' BIF which returns the terminals width (linesize) and depth. |
The '''$T''' REXX program makes use of '''SCRSIZE''' BIF which returns the terminals width (linesize) and depth. |
||
<br>Some REXXes don't have a '''SCRSIZE''' BIF, so one is included here ──► [[SCRSIZE.REX]]. |
<br>Some REXXes don't have a '''SCRSIZE''' BIF, so one is included here ──► [[SCRSIZE.REX]]. |
||
The '''$T''' REXX program makes use of '''DELAY''' BIF which delays (sleeps) for a specified amount of seconds. |
The '''$T''' REXX program makes use of '''DELAY''' BIF which delays (sleeps) for a specified amount of seconds. |
||
<br>Some REXXes don't have a '''DELAY''' BIF, so one is included here ──► [[DELAY.REX]]. |
<br>Some REXXes don't have a '''DELAY''' BIF, so one is included here ──► [[DELAY.REX]]. |
||
The '''$T''' REXX program makes use of '''SOUND''' BIF which produces sounds via the PC speaker. |
The '''$T''' REXX program makes use of '''SOUND''' BIF which produces sounds via the PC speaker. |
||
<br>Some REXXes don't have a '''SOUND''' BIF, so one is included here ──► [[SOUND.REX]]. |
<br>Some REXXes don't have a '''SOUND''' BIF, so one is included here ──► [[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> |
||
⚫ |