Short question on command in user fortran
I seem to have trouble finding an explanation in the manual When writing: IF (CNAME(1:2).EQ.'V ') THEN What does the 1:2 mean ?
Thanks in advance Franz Thomsen Aalborg University |
Re: Short question on command in user fortran
Hi Franz,
cname(1:2) returns a string containing the first two characters of the string cname. For example, if cname="abcdefghij", then cname(1:2) returns "ab". Welcome to the joys of fortran programming. Glenn |
Thanks
As subject
|
All times are GMT -4. The time now is 15:34. |