types tv_c_type c length 8.
types tv_n_type n length 5.
types tv_p_type p length 3 decimals 2.
data: pi type p length 3 DECIMALS 2 value '3.14'.
write:/ 'this is text symbol'(001).
write:/ text-001.
this is text symbol
this is text symbol
write:/ text-tx1.
결과
new text symbol
결과
텍스트 심볼입니다
텍스트 심볼입니다
새로운 텍스트 심볼입니다
data string1 TYPE string VALUE 'abcdefghijklmnop'.
data length1 TYPE i.
length1 = strLEN( string1 ).
write:/ length1.
결과: 16
data string1 TYPE string VALUE 'a e'.
data length1 TYPE i.
length1 = strLEN( string1 ).
write:/ length1.
결과: 5