Convert integer to a string with octal representation.
Source position: systemh.inc line 1312
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 or:=1 to 10 do Writeln (OctStr(Value,I)); or:=1 to 16 do Writeln (OctStr(I,3)); end.