$A2E: Difference between revisions
m (1 revision) |
m (1 revision) |
||
Line 2: | Line 2: | ||
<span class="pageSubtitle">Translate ASCII to EBCDIC</span> | <span class="pageSubtitle">Translate ASCII to EBCDIC</span> | ||
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $A2E function is the [[AsciiToEbcdic (String function)]].</p> | <p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the <var>$A2E</var> function is the [[AsciiToEbcdic (String function)]].</p> | ||
The $A2E function returns a string which is the EBCDIC equivalent of the (presumed) ASCII input string. $A2E is longstring capable, that is, it can receive an input longstring and will produce an output longstring. | The <var>$A2E</var> function returns a string which is the EBCDIC equivalent of the (presumed) ASCII input string. <var>$A2E</var> is longstring capable, that is, it can receive an input longstring and will produce an output longstring. | ||
$A2E accepts one required argument and returns a string value. | $A2E accepts one required argument and returns a string value. | ||
Line 19: | Line 19: | ||
The inverse of $A2E is [[$E2A]]. | The inverse of <var>$A2E</var> is [[$E2A]]. | ||
$A2E uses the "standard" ASCII-to-EBCDIC translation tables provided by Sirius, and it provides no mechanism for overriding these tables. | $A2E uses the "standard" ASCII-to-EBCDIC translation tables provided by Sirius, and it provides no mechanism for overriding these tables. |
Revision as of 20:51, 19 October 2012
Translate ASCII to EBCDIC
Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $A2E function is the AsciiToEbcdic (String function).
The $A2E function returns a string which is the EBCDIC equivalent of the (presumed) ASCII input string. $A2E is longstring capable, that is, it can receive an input longstring and will produce an output longstring.
$A2E accepts one required argument and returns a string value.
The first argument is the string to be translated from ASCII to EBCDIC.
The returned result is a string which is the EBCDIC equivalent of the (presumed) ASCII input string.
Syntax
<section begin="syntax" /> %EBCDIC = $A2E(ascii_val) <section end="syntax" />
The inverse of $A2E is $E2A.
$A2E uses the "standard" ASCII-to-EBCDIC translation tables provided by Sirius, and it provides no mechanism for overriding these tables.
$A2E is available only in Sirius Mods Version 6.8 and later.