after compiling,when i run program my 'FTN 95\PLATO' recently showing me black DOS box,only reading "PREES 'RETURN' to cotinue" without executing the program. could u say why is this happening ?

after compiling,when i run program my 'FTN 95\PLATO' recently showing me black DOS box,only reading "PREES 'RETURN' to cotinue" without executing the program. could u say why is this happening ?

Not without a lot more information. How are you compiling it? Is there a file "PLATO.exe" in the "FTN 95" directory? What is your source code? Post that here please.

sounds like you have an operating system that has some serious issues with its standard strings. Maybe upgrade to a better operating system?

'PLATO' itself a compiler.Espeacialy for 'FORTRAN' programing.'FORTRAN' is mathematical problem-oriented language.it was all fine,recently my 'PLATO' compiler started compiling my program showing 'no error' and after then,when i run the program it do nothing only showing black DOS box with 'prees 'return' to continue' written on it.here is a link of plato http://www.silverfrost.com/32/ftn95/ftn95_personal_edition.aspx here's one program of mine Program primei
Implicit none
integer i,n,item
item=2
8 Write(,)'please enter an integer greater than 1'
Read*, n
If(n<=1)then
Write(,)'input error'
go to 8
end if
do i=2,n-1
if(mod(n,i)==0)then
item=item+1
exit
else
end if
end do
if(item>2)then
Write(,)'composite number'
else
Write(,)'prime number'
end if
end program

    by the way, i am  new in programing.                    

Edited 2 Years Ago by covert

Ah, OK, that's important information we will need in order to give an answer; however, this forum is specific to the C++ language, not FORTRAN, which would be discussed in the 'Legacy Languages' forum. Hopefully, one of the moderators will move this over to that message board sometime soon.

This article has been dead for over six months. Start a new discussion instead.