25.06.2013 Views

Il Linguaggio Fortran 90/95

Il Linguaggio Fortran 90/95

Il Linguaggio Fortran 90/95

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.

6.6 Procedure intrinseche per gli array 339<br />

INTEGER, DIMENSION(SIZE(a)+SIZE(b)) :: Merge<br />

INTEGER :: a_ptr, a_high, a_low<br />

INTEGER :: b_ptr, b_high, b_low<br />

INTEGER :: c_ptr<br />

LOGICAL condition<br />

! *** Sezione esecutiva ***<br />

a_low = LBOUND(a,1)<br />

a_high = UBOUND(a,1)<br />

b_low = LBOUND(b,1)<br />

b_high = UBOUND(b,1)<br />

a_ptr = a_low<br />

b_ptr = b_low<br />

c_ptr = 1<br />

DO WHILE (a_ptr

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

Saved successfully!

Ooh no, something went wrong!