A-4
3.7.1 Precautions on assigning a name................................................................................................ 3 - 10
4. HOW TO READ FUNCTIONS 4 - 1 to 4 - 4
5. APPLICATION FUNCTIONS 5 - 1 to 5 - 218
5.1 Type Conversion Functions 5 - 2
5.1.1 Bit type → word (signed), double word (signed) type conversion.................................................. 5 - 2
5.1.2 Bit type → string type conversion .................................................................................................. 5 - 5
5.1.3
Bit type
→
word (unsigned)/16-bit string, double word (unsigned)/32-bit string type conversion
........................ 5 - 7
5.1.4 Bit type → time type conversion .................................................................................................. 5 - 10
5.1.5 Word (signed) type → double word (signed) type conversion ..................................................... 5 - 13
5.1.6 Double word (signed) type → word (signed) type conversion ..................................................... 5 - 16
5.1.7 Word (signed), double word (signed) type → bit type conversion ............................................... 5 - 19
5.1.8 Word (signed), double word (signed) type → single-precision real type conversion ................... 5 - 23
5.1.9 Word (signed), double word (signed) type → double-precision real type conversion.................. 5 - 26
5.1.10 Word (signed), double word (signed) type → string type conversion .......................................... 5 - 29
5.1.11
Word (signed), double word (signed) type
→
word (unsigned)/16-bit string type conversion
.................... 5 - 33
5.1.12
Word (signed), double word (signed) type
→
double word (unsigned)/32-bit string type conversion
........................ 5 - 36
5.1.13 Word (signed), double word (signed) type → BCD type conversion............................................ 5 - 39
5.1.14 Word (signed), double word (signed) type → time type conversion ............................................ 5 - 42
5.1.15 Single-precision real type → word (signed), double word (signed) type conversion ................... 5 - 45
5.1.16 Double-precision real type → word (signed), double word (signed) type conversion .................. 5 - 48
5.1.17 Single-precision real type → double-precision real type conversion ........................................... 5 - 51
5.1.18 Double-precision real type → single-precision real type conversion ........................................... 5 - 54
5.1.19 Single-precision real type → string type conversion.................................................................... 5 - 57
5.1.20
Word (unsigned)/16-bit string, double word (unsigned)/32-bit string type
→
bit type conversion
...................... 5 - 61
5.1.21
Word (unsigned)/16-bit string type
→
word (signed), double word (signed) type conversion
.................... 5 - 64
5.1.22
Double word (unsigned)/32-bit string type
→
word (signed), double word (signed) type conversion
........................ 5 - 67
5.1.23
Word (unsigned)/16-bit string type
→
double word (unsigned)/32-bit string type conversion
.................... 5 - 70
5.1.24
Double word (unsigned)/32-bit string type
→
word (unsigned)/16-bit string type conversion
.................... 5 - 73
5.1.25
Word (unsigned)/16-bit string, double word (unsigned)/32-bit string type
→
string type conversion
......................... 5 - 76
5.1.26
Word (unsigned)/16-bit string, double word (unsigned)/32-bit string type
→
time type conversion
........................... 5 - 79
5.1.27 String type → bit type conversion ................................................................................................ 5 - 82
5.1.28 String type → word (signed), double word (signed) type conversion........................................... 5 - 85
5.1.29 String type → single-precision real type conversion.................................................................... 5 - 88
5.1.30
String type
→
word (unsigned)/16-bit string, double word (unsigned)/32-bit string type conversion
......................... 5 - 92
5.1.31 String type → time type conversion ............................................................................................. 5 - 95
5.1.32 String type → BCD type conversion ............................................................................................ 5 - 98
5.1.33
BCD type
→
word (signed), double word (signed) type conversion
.................................................... 5 - 101
5.1.34 BCD type → string type conversion ........................................................................................... 5 - 104
5.1.35 Time type → bit type conversion ............................................................................................... 5 - 107
5.1.36 Time type → word (signed), double word (signed) type conversion.......................................... 5 - 110
5.1.37 Time type → string type conversion .......................................................................................... 5 - 113
5.1.38
Time type
→
word (unsigned)/16-bit string, double word (unsigned)/32-bit string type conversion
........................ 5 - 116
5.2 Standard Functions of One Numeric Variable 5 - 119
5.2.1 Absolute value ........................................................................................................................... 5 - 119
5.3 Standard Arithmetic Functions 5 - 122
5.3.1 Addition...................................................................................................................................... 5 - 122
5.3.2 Multiplication .............................................................................................................................. 5 - 125
5.3.3 Subtraction................................................................................................................................. 5 - 128
5.3.4 Division ...................................................................................................................................... 5 - 131