10.07.2015 Views

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3F Functions and VAX Subroutines9.1.53. renameRename a file.Synopsisinteger function rename(from, to)character*(*) fromcharacter*(*) toDescriptionRenames the existing file from where the new name is, the from value, to what you want it to be,the to value.. If the rename is successful, zero is returned; otherwise, the return value is an errorcode.9.1.54. rindexReturn index of substring.Synopsisinteger function rindex(a1, a2)character*(*) a1character*(*) a2DescriptionReturn the index of the last occurrence of string a2 in string a1.9.1.55. secnds, dsecndsReturn elapsed time.Synopsisreal function secnds(x)real xdouble precision function dsecnds(x)double precision xDescriptionReturns the elapsed time, in seconds, since midnight, minus the value of x.9.1.56. setvbufChange I/O buffering behavior.<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 206

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!