NewFromEbcdicCodepage (CharacterToUnicodeMap function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 15: Line 15:
<ul>
<ul>
<li><var>NewFromEbcdicCodepage</var> is a [[Object variables#Virtual Constructor methods|virtual constructor]] and as such can be called with no method object, with an explicit class name, or with an object variable, even if that object is null:
<li><var>NewFromEbcdicCodepage</var> is a [[Object variables#Virtual Constructor methods|virtual constructor]] and as such can be called with no method object, with an explicit class name, or with an object variable, even if that object is null:
<p class="code">%charToUmap = NewFromEbcdicCodepage(<var class="term">codepageName</var>)
<p class="code">%charToUmap = newFromEbcdicCodepage(<var class="term">'0037EXT'</var>)


%charToUmap = %(CharacterToUnicodeMap):NewFromEbcdicCodepage(<var class="term">codepageName</var>)
%charToUmap = %(CharacterToUnicodeMap):newFromEbcdicCodepage(<var class="term">'0037EXT'</var>)


%charToUmap = %charToUmap:NewFromEbcdicCodepage(<var class="term">codepageName</var>)
%charToUmap = %charToUmap:newFromEbcdicCodepage(<var class="term">'0037EXT'</var>)
</p>  
</p>  
</ul>
</ul>

Revision as of 02:06, 30 November 2011

Create CharacterToUnicodeMap object from EBCDIC codepage (CharacterToUnicodeMap class)

[Introduced in Sirius Mods 8.0]


This page is under construction.

Syntax

%characterToUnicodeMap = [%(CharacterToUnicodeMap):]NewFromEbcdicCodepage[( [codepageName])]

Syntax terms

%outCharacterToUnicodeMapCharacterToUnicodeMap object
[%(CharacterToUnicodeMap)] The optional class name in parentheses denotes a virtual constructor. See "Usage notes", below, for more information about invoking a virtual constructor.
codepageName string

Usage notes

  • NewFromEbcdicCodepage is a virtual constructor and as such can be called with no method object, with an explicit class name, or with an object variable, even if that object is null:

    %charToUmap = newFromEbcdicCodepage('0037EXT') %charToUmap = %(CharacterToUnicodeMap):newFromEbcdicCodepage('0037EXT') %charToUmap = %charToUmap:newFromEbcdicCodepage('0037EXT')

Examples

See also