12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

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.

7.2.2 VAX/VMS System SubroutinesDATEThe DATE subroutine returns a nine-byte string containing the ASCII representation of the currentdate. It has the form:CALL DATE(buf)where buf is a nine-byte variable, array, array element, or character substring. The date is returnedas a nine-byte ASCII character string of the form:dd-mmm-yyWhere:ddmmmyyis the two-digit day of the monthis the three-character abbreviation of the monthis the last two digits of the yearEXITThe EXIT subroutine causes program termination, closes all open files, and returns control to theoperating system. It has the form:CALL EXIT[(exit_status)]where:exit_statusis an optional integer argument used to specify the image exit value.GETARGThe GETARG subroutine returns the Nth command line argument in character variable ARG. ForN equal to zero, the name of the program is returned.SUBROUTINE GETARG(N, ARG)INTEGER*4 NCHARACTER*(*) ARG282 Chapter 7

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

Saved successfully!

Ooh no, something went wrong!