02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Examples<br />

<strong>HP</strong> <strong>Fortran</strong> statements<br />

BACKSPACE<br />

The following statement causes the file connected to unit 10 to be positioned just before the<br />

preceding record:<br />

BACKSPACE 10<br />

The following statement causes the file connected to unit 17 to be positioned just before the<br />

preceding record. If an error occurs during the execution of the statement, control passes to<br />

the statement at label 99, and the error code is returned in ios:<br />

BACKSPACE (17, ERR=99, IOSTAT=ios)<br />

Related statements<br />

ENDFILE, OPEN, andREWIND<br />

Related concepts<br />

For information about I/O concepts, see Chapter 8, “I/O and file handling,” on page 169, which<br />

lists example programs that use I/O. For information about I/O formatting, see Chapter 11,<br />

“Intrinsic procedures,” on page 467.<br />

Chapter 10 249

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

Saved successfully!

Ooh no, something went wrong!