[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert integer to a string with octal representation.
Source position: line 0
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 charaters.
None.
|
Convert a numerical 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.
lazarus-ccr.sourceforge.net |