$E2A: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle"><section begin="desc" />Translate EBCDIC to ASCII<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Translate EBCDIC to ASCII<section end="desc" /></span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $E2A function is [[to be entered]].</p>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $E2A function is the [[BinaryToInteger (String function)]].  For a full list of string and numeric conversion functions see [[List of String methods]] and [[List of Float methods]].</p>


The $E2A function returns a string which is the ASCII equivalent of the (presumed) EBCDIC input string. $E2A is longstring capable, that is, it can receive an input longstring and will produce an output longstring.  
The $E2A function returns a string which is the ASCII equivalent of the (presumed) EBCDIC input string. $E2A is longString capable, that is, it can receive an input longstring and will produce an output longstring.  


$E2A accepts one required argument and returns a string value.  
$E2A accepts one required argument and returns a string value.  

Revision as of 19:37, 31 January 2011

<section begin="desc" />Translate EBCDIC to ASCII<section end="desc" />

Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $E2A function is the BinaryToInteger (String function). For a full list of string and numeric conversion functions see List of String methods and List of Float methods.

The $E2A function returns a string which is the ASCII equivalent of the (presumed) EBCDIC input string. $E2A is longString capable, that is, it can receive an input longstring and will produce an output longstring.

$E2A accepts one required argument and returns a string value.

The first argument is the string to be translated from EBCDIC to ASCII.

The returned result is a string which is the ASCII equivalent of the (presumed) EBCDIC input string.

Syntax

<section begin="syntax" /> %ASCII = $E2A(ebcdic_val) <section end="syntax" />

$E2A Function

%RESULT is set to the EBCDIC-to-ASCII translation of ebcdic_val.


The inverse of $E2A is $E2A $E2A.

$E2A uses the "standard" EBCDIC-to-ASCII translation tables provided by Sirius, and it provides no mechanism for overriding these tables.

$E2A is available only in Sirius Mods Version 6.8 and later.

Products authorizing $E2A