將字體從大寫更改為小寫

出自 ArcoWiki
於 2018年6月4日 (一) 12:51 由 Slia (對話 | 貢獻) 所做的修訂 (创建页面,内容为“thumb|right|600px|DMIS Intrinsic Functions From 3.6 it has been implemented the Standard DMIS Intrinsic functions to convert…”)
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
前往: 導覽搜尋
DMIS Intrinsic Functions

From 3.6 it has been implemented the Standard DMIS Intrinsic functions to convert to Lower and Upper case the strings to be sent to output or written to a file.
The functions are per the standard as per the following example:

DECL/CHAR,100,ORIGINAL,UPPER_CASE,LOWER_CASE,TMP
ORIGINAL=ASSIGN/'This is Upper AND Lower CASE'
UPPER_CASE=ASSIGN/UPC(ORIGINAL)
LOWER_CASE=ASSIGN/LWC(ORIGINAL)

V(TEXT)=VFORM/ALL
DISPLY/TERM,V(TEXT)
TMP=ASSIGN/CONCAT('This is the original: ',ORIGINAL)
TEXT/OUTFIL,TMP
TEXT/OUTFIL,' '
TMP=ASSIGN/CONCAT('This is the UPPER CASE version: ',UPPER_CASE)
TEXT/OUTFIL,TMP
TEXT/OUTFIL,' '
TMP=ASSIGN/CONCAT('This is the lower case version: ',LOWER_CASE)
TEXT/OUTFIL,TMP
TEXT/OUTFIL,' '
DISPLY/OFF