DiagramElements-FreezeValue/en
Version vom 20. September 2019, 00:02 Uhr von Cg (Diskussion | Beiträge)
Introduction[Bearbeiten]
The following describes the data format and syntax used in pin freeze values. In general, the text entered as freeze value is parsed by the input pin's datatype.
Integer[Bearbeiten]
Integer constants can be entered in one of the following formats:
- decimal (for example: "
1234
" , "-1234
) - with Smalltalk radix prefix: (for example: "
16rCAFE
" , "16r-AA
, "8r100
, "2r101010000
) any radix between 2 and 36 is allowed. - with C radix prefix: (for example: "
0xCAFE
" , "-0xAA
, "0b101010000
) (0x for hex, 0o for octal, ob for binary). Notice that the C-octal notation (prefix 0) is not supported.
Float[Bearbeiten]
- regular floats such as: "
123.0
", "+123.0
", "-123.0
", ".123
", "123.
", "123.0e+2
", "123.0e-2
"