[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert integer to a string with octal representation.
Source position: systemh.inc line 1185
function OctStr( |
Val: LongInt; |
cnt: Byte |
):shortstring; |
Val: Int64; |
cnt: Byte |
):shortstring; |
Val: QWord; |
cnt: Byte |
):shortstring; |
OctStr returns a string with the octal representation of Value. The string has exactly cnt characters.
None.
|
Convert a numerical or enumeration value to a string. |
|
|
Calculate numerical/enumerated value of a string. |
|
|
Convert integer to string with binary representation. |
|
|
Convert integer value to string with hexadecimal representation. |
Program example112; { Program to demonstrate the OctStr function } Const Value = 45678; Var I : longint; begin For I:=1 to 10 do Writeln (OctStr(Value,I)); For I:=1 to 16 do Writeln (OctStr(I,3)); end.