Mail Archives: djgpp/2011/09/09/03:14:12
> From: Felix <junkemail AT junk DOT com>
> Date: 09 Sep 2011 03:54:25 GMT
> Bytes: 1253
>
> program Test
> real first
> write (*,'(a)') 'Program to regurgitate a number'
> write (*,'(a,$)') 'Enter number: '
> read (*,*) first
> write (*,'(a,f10.5)') 'Regurgitated number is', first
> stop
> end
>
> With GCC 4.6.1 and binutils 2.21.1 (or GCC 4.4.2 and binutils 2.19),
> this program does not properly execute the 'read (*,*)' statement.
Details, please: what did you expect from this program and what
actually happened?
I'm guessing that you bumped into some buffering issue, but it's
impossible to help you without more details.
Also, what version of DJGPP library (djdevNNN.zip) do you have
installed?
- Raw text -