$Ascii: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<b>Function</b>
<p>
<p>The $ASCII function converts an input string, assumed to be EBCDIC, into ASCII. For example:</p>
The <var>$Ascii</var> function converts an input string, assumed to be EBCDIC, into ASCII, thus performing the reverse process of the <var>[[$Ebcdic]]</var> function. For example:</p>
<p class="code">%X = $ascii(%X)
<p class="code">%x = $ascii(%x)
</p>
</p>
<p>The translation table can be modified when necessary at customer sites. The source code is delivered in the FUNU module.</p>
<p>
<p>Not all strings are for display. Question marks are usually the results of trying to print ASCII characters on an EBCDIC machine. </p>
The translation table can be modified when necessary at customer sites. The source code is delivered in the FUNU module.</p>
<p>
Not all strings are for display. Question marks are usually the results of trying to print ASCII characters on an EBCDIC machine. </p>
 
[[Category:SOUL $functions]]
[[Category:SOUL $functions]]

Latest revision as of 20:27, 8 September 2014

The $Ascii function converts an input string, assumed to be EBCDIC, into ASCII, thus performing the reverse process of the $Ebcdic function. For example:

%x = $ascii(%x)

The translation table can be modified when necessary at customer sites. The source code is delivered in the FUNU module.

Not all strings are for display. Question marks are usually the results of trying to print ASCII characters on an EBCDIC machine.