Re: same function giving different results
beliavsky_at_aol.com
Date: 01/06/05
- Next message: Jan Vorbrüggen: "Re: same function giving different results"
- Previous message: Rich Townsend: "Re: same function giving different results"
- In reply to: Bart Vandewoestyne: "Re: same function giving different results"
- Next in thread: Rich Townsend: "Re: same function giving different results"
- Reply: Rich Townsend: "Re: same function giving different results"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 Jan 2005 06:47:55 -0800
Replace
integer :: i = 1
in your code with
integer :: i
i = 1
and it should work as you expect. Presently, the initialization i=1 in
your subroutine get_digits only occurs the first time it is called.
- Next message: Jan Vorbrüggen: "Re: same function giving different results"
- Previous message: Rich Townsend: "Re: same function giving different results"
- In reply to: Bart Vandewoestyne: "Re: same function giving different results"
- Next in thread: Rich Townsend: "Re: same function giving different results"
- Reply: Rich Townsend: "Re: same function giving different results"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]