IModelling.Char

Fore Syntax

Char(Value: Integer): String;

Fore.NET Syntax

Char(Value: integer): string;

Parameters

Value. ASCII code.

Description

The Char method returns a character that corresponds to the specified ASCII code.

Comments

To get ASCII code that corresponds to the character, use the IModelling.ASCII method.

Fore Example

To execute the example, add a link to the Ms system assembly.

Sub UserProc;
Var
    Func: Modelling;
Begin
    Func := New Modelling.Create;
    Debug.WriteLine("Char(60) = " + Func.Char(60));
End Sub UserProc;

After executing the example the console window displays a character that corresponds to ASCII code 60.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Ms;

Public Shared Sub Main(Params: StartParams);
Var
    Func: IModelling;
Begin
    Func := New Modelling.Create();
    System.Diagnostics.Debug.WriteLine("Char(60) = " + Func.Char(60));
End Sub;

Example of Use in Expressions

Expression:

Char(65)

Result: A.

Expression 2:

Char(125)

Result: }.

Use: expressions can be used in model formulas of modeling container, in formulas of time series database calculated series, in formulas of the modeling container that is a child one for time series database in formula editor.

See also:

IModelling | Time Series Database: Calculator| Modeling Container: Editing Regressor or Formula | Expression Editor

See also:

IModelling