HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

Computational problems in FORTRAN

2009-03-07View Original

Thread Content

While working on the example problems, I encountered the following issue: Fortran error at line 1 PROFIT=DW*0.528+BW*0.264-FW*0.264-QR*4.7e-9 invalid token? What’s going on here? If I make some changes, a Fortran error will occur stating that column 2 must be blank in Fortran statements. Please give me some advice; thank you. This post was last edited by lihesong on 2009-3-7 at 17:49
Reply #22009-03-07
There must be more than 6 spaces before a FORTRAN statement
Reply #32009-03-09
Having 6 empty spaces ahead doesn’t seem to solve the problem either
Reply #42009-03-09
Do I need to define the types for several variables in the formula?
Reply #52009-03-10
There must be more than 6 spaces before a FORTRAN statement. Indeed, I was careless. Following the suggestions from the folks above, I tried it again and it worked. Thank you to those who posted above; wish you all success in your work

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.