10.07.2015 Views

1130 Commercial Subroutine Package - All about the IBM 1130 ...

1130 Commercial Subroutine Package - All about the IBM 1130 ...

1130 Commercial Subroutine Package - All about the IBM 1130 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example: DIMENSION IUNPK(26), IPAKD(26)CALL DPACK(IUNPK, 1, 10, IPAKD, 1)Before:IUNPK 123456789123I IPosition 1 5 10IPAKD ABCDEFGHIJI IPosition 1 5 10After:IUNPK is <strong>the</strong> same.IPAKD 1234 5678 9FFF 0001 EFGHIJt t t 111 t1 2 3 4 56 10PositionErrors: NoneRemarks: If JLAST is less than or equal to J, only one character of JCARD will bepacked, and it will be treated as <strong>the</strong> sign. A multiple of four characters in JCARD willalways be packed into KCARD. An equation for how much space is required, in elements,in KCARD is:Space in KCARD - JLAST-J+74This result is rounded down at all times.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!