The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

fortran is fucking pissing me off

DemerdarDemerdar Registered User regular
edited September 2011 in Help / Advice Forum
Okay,

I want to open file

"/file_loc/demerdar.file.1"

file_loc is a character variable that points me into the directory
"demerdar" is the name of the file
"file" is a subname of the file
1 is the number i want to open

I tried separating each subset of the file into different characters and using "//" to concatenate it but that didn't work.

Can somebody just give me the code to splice together a bunch of characters so I can open this file? This is so frustratingly simple to do and I can't figure it out.

y6GGs3o.gif
Demerdar on
Sign In or Register to comment.