Example 5) When inserting into the text two conversion forms (%s) that represent
strings
In the place of the conversion form (%s), the ASCII code that is equivalent to the string data
specified by [S2] is inserted. The number of digits of the data to insert, right align, and left align
are specified. Use the ESSET instruction to reset the [S2] string data.
- Image of mail text
Location: [ ˽ ˽ Nagoya], [Aichi ˽ ˽ ˽ ]
S1="Location: %-8s, %8s"
S2=DT1
D=DT50
- Setting values
DT2
DT3
DT4
DT5
DT8
DT9
DT10
DT11
U 8
H 61 (a)
H 6F (o)
H 61 (a)
U 6
**
H 68 (h)
H 69 (i)
No. of bytes
Data part
H 79 (y)
H 67 (g)
H 4E (N)
H 69 (i)
H 63 (c)
H 41 (A)
DT51
DT52
DT53
DT54
DT55
DT56
DT57
DT58
H 69 (i)
H 61 (a)
H 6F (o)
U 32
H 4E (N)
H 20 (SPACE)
H 20 (SPACE)
DT59
DT60
DT61
DT62
H 67 (g)
H 41 (A)
H 20 (SPACE)
H 5D (])
DT63
H 6E (n)
H 74 (t)
H 63 (c)
H 4C (L)
H 20 (SPACE)
H 5B ([)
H 3A (:)
H 61 (a)
H 5B ([)
H 2C (,)
H 61 (a)
H 6F (o)
H 79 (y) H 6F (o)
DT1
DT6
**
DT7
U 10
DT12
**
Storage area size (*1)
DT50
U 32
Right-aligned
H 63 (c)
DT64
H 69 (i)
H 69 (i)
DT65
H 68 (h)
H 20 (SPACE)
DT66
H 20 (SPACE)
H 5D (])
DT67
H 20 (SPACE)
U 10
Left-aligned
(*3)(*4)
(Note 1) The start area (storage area size) for [D] is set before executing this instruction.
(Note 2) The data out of the destination range does not change.
(Note 3) If %s (which represents string) is specified, it is left-aligned by default. If a minus sign is added to the
value for [S1], it is right-aligned.
(Note 4) The ␣ symbol in figures represents a space.
Example 6) Combining the conversion forms (%s), (%d), and (%s) which represent
strings, and inserting a minus sign (-)
In place of the conversion forms (%s), (%d), and (%s), ASCII code that is equivalent to the data
specified by [S2] is inserted. Insert a minus sign. Use the ESSET instruction to reset the [S2]
string data area.
14.27 EPRINT (Text Creation: With Storage Area Size)
14-112 WUME-FP7CPUPGR-12