24.11.2014 Views

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Open</strong> <strong>Watcom</strong> <strong>FORTRAN</strong> <strong>77</strong> Extensions to Standard <strong>FORTRAN</strong> <strong>77</strong><br />

24. Several additional intrinsic functions are supported:<br />

ALGAMA ALLOCATED BTEST CDABS<br />

CDCOS CDSIN CDEXP CDSQRT<br />

CDLOG COTAN DCMPLX DCONJG<br />

DCOTAN DERF DERFC DFLOAT<br />

DGAMMA DIMAG DLGAMA DREAL<br />

ERF ERFC GAMMA HFIX<br />

IAND IBCHNG IBCLR IBSET<br />

IEOR IOR ISHA ISHC<br />

ISHFT ISHL ISIZEOF LENTRIM<br />

LGAMMA LOC NOT VOLATILE<br />

25. The LOC intrinsic function returns the address of an expression.<br />

26. The ISIZEOF intrinsic function returns the size of a structure name, the size of an array with a<br />

constant array declarator, or the size of a variable.<br />

27. The CHAR intrinsic function is allowed in constant expressions.<br />

28. The ALLOCATE and DEALLOCATE statements may be used to dynamically allocate and<br />

deallocate arrays.<br />

29. The ALLOCATED intrinsic function may be used to determine if an allocatable array is allocated.<br />

30. The following additional I/O specifiers for the OPEN statement are supported.<br />

ACTION=<br />

CARRIAGECONTROL=<br />

RECORDTYPE=<br />

RECL= is also allowed for files opened for<br />

sequential access<br />

ACCESS=’APPEND’<br />

BLOCKSIZE=<br />

SHARE=<br />

31. The following additional I/O specifiers for the INQUIRE statement are supported.<br />

ACTION=<br />

CARRIAGECONTROL=<br />

RECORDTYPE=<br />

BLOCKSIZE=<br />

SHARE=<br />

32. In the INQUIRE statement, character data may also be returned in variables or array elements<br />

with a substring operation.<br />

CHARACTER FN*20<br />

INQUIRE( UNIT=1, FILE=FN(10:20) )<br />

33. List-directed I/O is allowed with internal files.<br />

34. No asterisk is required for list-directed I/O.<br />

PRINT, X, Y<br />

35. The NAMELIST statement is supported.<br />

<strong>Open</strong> <strong>Watcom</strong> <strong>FORTRAN</strong> <strong>77</strong> Extensions to Standard <strong>FORTRAN</strong> <strong>77</strong> 287

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

Saved successfully!

Ooh no, something went wrong!