Re: Problem with my split routine I am not understanding



Jeremy wrote:

The problem is that once the array data is filled, it seems to not
change. Any ideas on what I am doing wrong?

The integer variables bpos, pos and idx are implicitly SAVED because of
their compile time initialization. If you replace their declaration by
the lines

integer :: bpos, pos, idx
bpos = 1; pos = 1; idx = 1

your program will work (after you put in the MODULE and END MODULE
statements.

--
Don Fredkin
drfredkin@xxxxxxxx
.



Relevant Pages