Difference between revisions of "Changing Font from Upper to Lower Case"
From ArcoWiki
(Created page with " Category:Dmis_Tutorial Category:ReadMe3.6") |
|||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | [[File:DmisIntrinsicFunctions.PNG|thumb|right|600px|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.<br /> | ||
| + | The functions are per the standard as per the following example: | ||
| + | |||
| + | <code> | ||
| + | DECL/CHAR,100,ORIGINAL,UPPER_CASE,LOWER_CASE,TMP<br /> | ||
| + | ORIGINAL=[[Assign|ASSIGN]]/'This is Upper AND Lower CASE'<br /> | ||
| + | UPPER_CASE=[[Assign|ASSIGN]]/UPC(ORIGINAL)<br /> | ||
| + | LOWER_CASE=[[Assign|ASSIGN]]/LWC(ORIGINAL)<br /> | ||
| + | <br /> | ||
| + | V(TEXT)=VFORM/ALL<br /> | ||
| + | DISPLY/TERM,V(TEXT)<br /> | ||
| + | TMP=[[Assign|ASSIGN]]/CONCAT('This is the original: ',ORIGINAL)<br /> | ||
| + | TEXT/OUTFIL,TMP<br /> | ||
| + | TEXT/OUTFIL,' '<br /> | ||
| + | TMP=[[Assign|ASSIGN]]/CONCAT('This is the ''UPPER CASE'' version: ',UPPER_CASE)<br /> | ||
| + | TEXT/OUTFIL,TMP<br /> | ||
| + | TEXT/OUTFIL,' '<br /> | ||
| + | TMP=[[Assign|ASSIGN]]/CONCAT('This is the ''lower case'' version: ',LOWER_CASE)<br /> | ||
| + | TEXT/OUTFIL,TMP<br /> | ||
| + | TEXT/OUTFIL,' '<br /> | ||
| + | DISPLY/OFF<br /> | ||
| + | |||
| + | [[it:Modifica del carattere da maiuscolo a minuscolo]] | ||
| + | [[zh-cn:将字体从大写更改为小写]] | ||
| + | [[pt:Mudando a fonte de maiúscula para minúscula]] | ||
| + | [[de:Ändern der Schriftart von Groß- in Kleinschreibung]] | ||
| + | [[es:Cambio de fuente de mayúscula a minúscula]] | ||
| + | [[en:Changing Font from Upper to Lower Case]] | ||
[[Category:Dmis_Tutorial]] | [[Category:Dmis_Tutorial]] | ||
[[Category:ReadMe3.6]] | [[Category:ReadMe3.6]] | ||
Latest revision as of 12:51, 4 June 2018
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