206. B, O, Z edit descriptors can be used to print integers as binary, octal, or hexadecimal.#

topic: Data types

Note

This tip is a draft1.

A BOZ constant with prefix B, O, or Z for binary, octal, or hexadecimal can be passed to the INT or REAL function to set an integer or real variable. The B, O, and Z edit descriptors can print integers as BOZ constants.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.