Word wrap: Difference between revisions
Content added Content deleted
m (→version 1: added a link to the LINESIZE.REX program.) |
|||
Line 1,909: | Line 1,909: | ||
_=x /*handle any word overflow. */ |
_=x /*handle any word overflow. */ |
||
return /*go back and keep truckin'. */</lang> |
return /*go back and keep truckin'. */</lang> |
||
This REXX program makes use of '''LINESIZE''' REXX program (or BIF) which is used to determine the screen width (or linesize) of the terminal (console). |
|||
⚫ | |||
<br>The '''LINESIZE.REX''' REXX program is included here ──► [[LINESIZE.REX]].<br> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
────────── Computer programming laws ────────── |
────────── Computer programming laws ────────── |
||
The Primal Scenario -or- Basic Datum of Experience: |
The Primal Scenario -or- Basic Datum of Experience: |
||
Line 2,001: | Line 2,004: | ||
∙ Parameters are variables travelling under an assumed name. |
∙ Parameters are variables travelling under an assumed name. |
||
</pre> |
</pre> |
||
'''output''' when specifying: <tt> , 155 </tt> |
|||
<pre style="height: |
<pre style="height:40ex"> |
||
────────── Computer programming laws ────────── The Primal Scenario -or- Basic Datum of Experience: ∙ Systems in general work poorly or not at all. ∙ |
────────── Computer programming laws ────────── The Primal Scenario -or- Basic Datum of Experience: ∙ Systems in general work poorly or not at all. ∙ |
||
Nothing complicated works. ∙ Complicated systems seldom exceed 5% efficiency. ∙ There is always a fly in the ointment. The Fundamental Theorem: ∙ New |
Nothing complicated works. ∙ Complicated systems seldom exceed 5% efficiency. ∙ There is always a fly in the ointment. The Fundamental Theorem: ∙ New |
||
Line 2,040: | Line 2,043: | ||
</pre> |
</pre> |
||
Output when specifying: <tt> , 77 </tt> |
Output when specifying: <tt> , 77 </tt> |
||
<pre style="height: |
<pre style="height:40ex"> |
||
────────── Computer programming laws ────────── The Primal Scenario -or- |
────────── Computer programming laws ────────── The Primal Scenario -or- |
||
Basic Datum of Experience: ∙ Systems in general work poorly or not at all. ∙ |
Basic Datum of Experience: ∙ Systems in general work poorly or not at all. ∙ |
||
Line 2,114: | Line 2,117: | ||
</pre> |
</pre> |
||
Output [justified] when specifying: <tt> , 70 both </tt> |
Output [justified] when specifying: <tt> , 70 both </tt> |
||
<pre style="height: |
<pre style="height:40ex"> |
||
────────── Computer programming laws ────────── The Primal Scenario -or- |
────────── Computer programming laws ────────── The Primal Scenario -or- |
||
Basic Datum of Experience: ∙ Systems in general work poorly or not at all. ∙ |
Basic Datum of Experience: ∙ Systems in general work poorly or not at all. ∙ |