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.

ADDA1A3A1DECA3A1CARRYDECA1DIVDPACKDUNPKEDITFILLGETICOMPIONDKEYBDMOVE -4-MPYNCOMPNSIGNNZONEPACKPRINTPUNCHPUTP1403P1442READR2501SKIPSTACKSUBS1403TYPERUNPACWHOLEMOVEFormat: CALL MOVE(JCARD,J,JLAST,KCARD,K)Function: Moves data from one array to ano<strong>the</strong>r array.Parameter description:JCARD - The name of a one-dimensional integer array defined in a DIMENSIONstatement. This is <strong>the</strong> array from which data is moved. The data maybe stored in JCARD in any format, one character per word.J - An integer constant, an integer expression, or an integer variable. Thisis <strong>the</strong> position of <strong>the</strong> first character of JCARD to be moved (<strong>the</strong> left-handend of a field).JLAST - An integer constant, an integer expression, or an integer variable,greater than or equal to J. This is <strong>the</strong> position of <strong>the</strong> last character ofJCARD to be moved (<strong>the</strong> right-hand end of a field).KCARD - The name of a one-dimensional integer array defined in a DIMENSIONstatement. This is <strong>the</strong> array to which data is moved, one character perword.K - An integer constant, an integer expression, or an integer variable. Thisis <strong>the</strong> position of <strong>the</strong> first character of KCARD to which data will bemoved (<strong>the</strong> left-hand end of a field).Detailed description: Characters are moved, left to right, from <strong>the</strong> sending field,• JCARD, starting with JCARD(J) and ending with JCARD(JLAST), to <strong>the</strong> receiving fieldKCARD, starting with KCARD(K). More detailed information may be found in <strong>the</strong> MOVEflowchart and listing.

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

Saved successfully!

Ooh no, something went wrong!