sformat.gml

来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 36 行

GML
36
字号
.section FORMAT Statement
.*
.mbox begin
      label    FORMAT fs
.mbox end
.synote 7
.mnote fs
is a format specification and is described in the
chapter entitled :HDREF refid='fformat'..
.mnote label
is the statement label used by an I/O statement to identify the
.kw FORMAT
statement to be used.
The
.kw FORMAT
statement must be labelled.
.endnote
.exam begin
      REAL X
      X = 234.43
      PRINT 100, X
100   FORMAT(F10.2)
      END
.exam end
.pc
In the previous example, the
.kw PRINT
statement uses the format specification in the
.kw FORMAT
statement whose statement label is 100 to display the value of
.id X.
.np
For more information on the
.kw FORMAT
statement, see the chapter entitled :HDREF refid='fformat'..

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?