Char(Value: Integer): String;
Char(Value: integer): string;
Value. ASCII code.
The Char method returns a character that corresponds to the specified ASCII code.
To get ASCII code that corresponds to the character, use the IModelling.ASCII method.
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.
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;
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: