Hi all!
I have a situation:
char message(256),name(80)
integer myrank
I want to generate message such that I have a leading character string, a character version of myrank, and an ending character string of name.
I've tried all kinds of stuff with //, write(p1,'(I4')myrank, etc.
By the way, I'm at a conference and do not have access to my regular stuff. That's why I am asking.
This is in Fortran 77.
Hope I'm not causing trouble.
Thanks in advance for any help!
Sincerely,
me
I have a situation:
char message(256),name(80)
integer myrank
I want to generate message such that I have a leading character string, a character version of myrank, and an ending character string of name.
I've tried all kinds of stuff with //, write(p1,'(I4')myrank, etc.
By the way, I'm at a conference and do not have access to my regular stuff. That's why I am asking.
This is in Fortran 77.
Hope I'm not causing trouble.
Thanks in advance for any help!
Sincerely,
me