$Ebcdic: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Admin moved page $EBCDIC to $Ebcdic without leaving a redirect: caps in title)
mNo edit summary
Line 1: Line 1:
<b>Function</b>
<p>
<p>The <var>$Ebcdic</var> function converts an input string, assumed to be ASCII, into EBCDIC, thus performing the reverse process of the <var>[[$Ascii]]</var> function. For example:</p>
The <var>$Ebcdic</var> function converts an input string, assumed to be ASCII, into EBCDIC, thus performing the reverse process of the <var>[[$Ascii]]</var> function. For example:</p>
<p class="code">%x = $ebcdic(%x)
<p class="code">%x = $ebcdic(%x)
</p>
</p>
<p>The translation table can be modified when necessary at your site. The source code is delivered in the FUNU module.</p>
<p>
<p>Not all strings are for display. Question marks are usually the result of trying to print ASCII characters on an EBCDIC machine.</p>
The translation table can be modified when necessary at your site. The source code is delivered in the FUNU module.</p>
<p>
Not all strings are for display. Question marks are usually the result of trying to print ASCII characters on an EBCDIC machine.</p>
 
[[Category:SOUL $functions]]
[[Category:SOUL $functions]]

Revision as of 20:26, 8 September 2014

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

%x = $ebcdic(%x)

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

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