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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example: DIMENSION IUNPK(26),IPAKD(26)CALL UNPAC (IPAKD,1,13, IUNPK, 1)Before:IPAKD THISbINFORMATIONbWILLbUNPACKEDbbbbbbbbbbbbbbbbbbbbbbPosition 10 15 20 25IUNPK FblbLbLbbbIbNbbbTbHbIbSbbbAbRbEbAbbbbbbbbbbbbbbbbbbbPosition 1 5 10 15 20 25After:IPAKD is <strong>the</strong> same.IUNPK TbHblbSbbblbNbFbObRbMbAbTblbObNbbbWbibLbLbbbUbNbPbAbPosition 1 5 10 15 20 25Note that each two characters shown above represent one element of <strong>the</strong> array.Errors: NoneRemarks: If JLAST is less than or equal to J, only <strong>the</strong> first element of JCARD,JCARD(J)will be UNPACked into <strong>the</strong> first two elements of KCARD. An even number of characterswill always be UNPACked into KCARD. An equation for how much space is required, inelements, in KCARD isSpace in KCARD = 2 (JLAST-J+1)-90-IMF

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

Saved successfully!

Ooh no, something went wrong!