Talk:Word wrap: Difference between revisions
Content added Content deleted
(→REXX Timings: possible discrepancy. -- ~~~~) |
Walterpachl (talk | contribs) (fn('xxx.txt') Returns 'xxx') |
||
Line 95: | Line 95: | ||
End |
End |
||
</lang> |
</lang> |
||
<lang rexx>/*REXX pgm reads a file and displays it (with word wrap to the screen). */ |
<lang rexx>/*REXX pgm ww0 reads a file and displays it (with word wrap to the screen). */ |
||
Call time 'R' |
Call time 'R' |
||
parse arg iFID width /*get optional arguments from CL.*/ |
parse arg iFID width /*get optional arguments from CL.*/ |
||
Line 119: | Line 119: | ||
o: Return lineout(oid,arg(1))</lang> |
o: Return lineout(oid,arg(1))</lang> |
||
<lang rexx>/*REXX pgm reads a file and displays it (with word wrap to the screen). */ |
<lang rexx>/*REXX pgm ww1 reads a file and displays it (with word wrap to the screen). */ |
||
Call time 'R' |
Call time 'R' |
||
parse arg iFID width justify _ . /*get optional CL args.*/ |
parse arg iFID width justify _ . /*get optional CL args.*/ |
||
Line 172: | Line 172: | ||
<lang rexx> |
<lang rexx> |
||
/* REXX *************************************************************** |
/* REXX ww2 *************************************************************** |
||
* 20.08.2013 Walter Pachl "my way" |
* 20.08.2013 Walter Pachl "my way" |
||
**********************************************************************/ |
**********************************************************************/ |
||
Line 241: | Line 241: | ||
</pre> |
</pre> |
||
It seems that the REXX version 2 isn't handling leading or imbedded blanks. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:40, 21 August 2013 (UTC) |
It seems that the REXX version 2 isn't handling leading or imbedded blanks. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:40, 21 August 2013 (UTC) |
||
:: correct. pls try to live without that "feature". for testing, pls replace fn(fid) with "long"--[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 21:56, 21 August 2013 (UTC) |