Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 260791

    Fortran 95 and HTML form

    Thank you for your replies. I am doing it on Windows server, using a Silverfrost compiler. The reason I wrote in "Fortran" thread is that maybe there exists possibility for my program to communicate with HTML form (without using any other language in between). Thanks
  2. 260791

    Fortran 95 and HTML form

    Hey, thank you for you reply. I understand that Fortran is a very old language and nobody wants to use it these days, but I've already decided to use it a year ago and I've written a program in Fortran so this is not a decision for me anymore. The program is done. It's there. And I'd like it to...
  3. 260791

    Fortran 95 and HTML form

    I've got a Fortran 95 program (which basically does few calculations) and I'd like to use it online. So that, the users will input data into a HTML form, the program will run, and it will display the results. Would it be possible to do it in the following way? To run a little program (e.g. PHP)...
  4. 260791

    How to run Fortran program on the website? Please help

    I have a simple command-line based Fortran 95 program. I would like my clients to be able to run it straight on the website. So that it can be executed on the server without downloading it. I have found out that most of the hosting packages and web browsers do not allow running .exe files on...
  5. 260791

    How to output Fortran program into the text file?

    Yes it works. And also all my code works but WITHOUT THE BIT I SHOWED ABOVE. When I put that bit, everything else appears in the text file but not that. What's wrong with it? Have I missed something?
  6. 260791

    How to output Fortran program into the text file?

    I did open, exactly the same statements as you gave me, using: ! open file open (10, file='Final Output.txt', status='unknown') ! write to file and... ! close file close(10)
  7. 260791

    How to output Fortran program into the text file?

    Thanks for your help! I really appreciate that :) What if I'd like to out put: write(10,*)"-----------------------------------------------------------" write(10,*) write(10,*)"Flowrate:",aflowrate(1),"m3/hr, C1/C2:",ac1c2(1),"W:",adropset(1) write(10,*)"Flowrate:",aflowrate(2),"m3/hr...
  8. 260791

    How to output Fortran program into the text file?

    Could you tell me how to do it please?
  9. 260791

    How to output Fortran program into the text file?

    Is there anyway to output it to the text file by modifying the code? Because I'd like to hide the code from the users. So that they will use the program and at the end there will be question: Would you like to see the output as a text file? And if they choose to do it, there will be a text file...
  10. 260791

    How to output Fortran program into the text file?

    You mean to type it in the command prompt?
  11. 260791

    How to output Fortran program into the text file?

    What's the best way to output all the WRITE(*,*) data from my program into a text file? I'm using Fortran 90/95 Thank you
  12. 260791

    How to repeat the IF statement

    if (ratio < 0.2) then WRITE(*,*) "We need mixing." WRITE(*,*)"Please enter the data:" WRITE(*,*) WRITE(*,*)"Mix:" READ(*,*)mix WRITE(*,*) WRITE(*,*)"Diameter:" READ(*,*)diameter WRITE(*,*) WRITE(*,*)"At the flow",aflowrate(1),"m3/hr, pressure is ",ac1c2(1) WRITE(*,*)"At the...
  13. 260791

    How to declare real constants? Please help

    Excellent ! It works :) Thank you And another problem that I have now is that: E.g. for this calculation: mddc = 0.3625 * ( tension / density ) ** 0.6 PRINT '(F6.3)', mddc I'm getting: 0.001 while it should be 0.00069 and for others I'm getting 0.005, but should be 0.00471, so it rounds up...
  14. 260791

    How to declare real constants? Please help

    How do I declare constants beginning with "zero" in Fortran to get the output beginning with zero ? If I declare : REAL, parameter :: tension = 0.025 I get the output: 2.500000E-02 Thanks in advance
  15. 260791

    Simple do-loop in Fortran. Please help !

    I get it now !!! Thanks a lot for your help
  16. 260791

    Simple do-loop in Fortran. Please help !

    I can't figure out how to make a do-loop in Fortran to do the following: I have 2 variables. Let's say: REAL :: level, step level = 2429.8 step = 1159.8 and I need 10 fields printed out. The first field will have the value: level + step <then the value of the one above + step>...

Part and Inventory Search

Back
Top