$A2E

From m204wiki
Revision as of 17:35, 28 January 2011 by 198.242.244.47 (talk) (Created page with "{{DISPLAYTITLE:$A2E}} <span class="pageSubtitle"><section begin="desc" />Translate ASCII to EBCDIC<section end="desc" /></span> <p class="warning">Most Sirius $functions have be...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $A2E function is to be entered.

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" />

$A2E Function

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


The inverse of $A2E is $E2A $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.

Products authorizing $A2E