Longest string challenge: Difference between revisions
Content deleted Content added
m →read file until not ready: elided the need to initialize the variable named M. |
m →read file until not ready: changed some comments and whitespace. |
||
Line 1,750:
signal on notReady /*when E-O-F is reached, jump/branch. */
do
do y=
do n=m for 1;
do z=n to w for 1; $=;
do x=m to w for 1; $=$'a0d'x || _;
m=max(m, w) /*M: is the maximum length record. */
end /*
notReady: do j=m for m /*handle the case of no input. */
|