The dasize sample program in contributions shows that 2.2 does not ACCEPT or DISPLAY the expected results for the SIZE option in many cases. It should be put back the way it was.
It will not compile WITH SIZE ZERO.
WITH SIZE ZERO (or a literal or variable zero) is supposed to take the whole length of the field.
Fix dasize so that it compiles. Then run the program to see what it displays and compare it to what is expected.
I have identified and fixed the issues with the
SIZEclause. Running thedasizeprogram reveals further bugs:DISPLAY LOW-VALUEdoes not position the cursor for the next statement as it should (it only works when the next item is in theDISPLAYwith it, e.g.DISPLAY LOW-VALUE AT 1234, "I'm at pos 1234"); this may need a new conf. option settingLINE 0 COL 0as the implied position of the first item in theDISPLAY(currently the first item is implied to be atLINE 1 COL 1).DISPLAY SPACE(it acts asERASE EOS)ACCEPT WITH UPDATEdoes not workI am now trying to fix these bugs before committing the fix for the
SIZEclause.All fixed in [r2076].
dasizenow works properly with two exceptions:SPACEwith no size: this now outputs one space -dasizehas expected output of 10 spaces.DISPLAY "after low value"statements do not work properly because the compiler assumes they are ordinary deviceDISPLAYs. You either need to addUPON CRTto the statements, addCONSOLE IS CRTtoSPECIAL-NAMESor compile with-fconsole-is-crt.Last edit: Edward Hart 2017-09-10