| United States-English |
|
|
|
![]() |
HP Fortran Compiler for HP-UX: HP Fortran Programmer's Reference > Chapter 10 HP
Fortran statementsDECODE (extension) |
|
Inputs formatted data from internal storage. Syntax
DescriptionThe DECODE statement is an HP extension that is provided for compatibility with other versions of Fortran. The internal-I/O capabilities of the standard READ statement provide similar functionality and should be used to ensure portability. The DECODE statement translates formatted character data into its binary (internal) representation. ExamplesThe following example program illustrates the DECODE statement:
When compiled and executed, this program produces the following output:
Related statementsENCODE and READ Related conceptsFor related information, see the following: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||