Quantcast
Channel: Intel® Fortran Composer XE
Viewing all articles
Browse latest Browse all 1424

Problem with TRIM and getcwd

$
0
0

Hi everyone,

The TRIM function in combination with getcwd doesn't do anything for me. Why is that so? Any ideas?

CHARACTER(len=255)                           :: cwd
Character(:),allocatable                            :: trim_cwd


CALL getcwd(cwd)
trim_cwd = TRIM(cwd) ! still holds all the trailing spaces

 

Thanks,
Felix 


Viewing all articles
Browse latest Browse all 1424

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>