santanax.blogg.se

Display format lazarus
Display format lazarus











display format lazarus

If needed, the string is (left) padded with zeroes. If precision is specified, then the string will have at least Precision digits in it. The argument is converted to a decimal string. The next argument in the Args array should be an integer. It can have one of the following values (case insensitive): D Decimal format. The argument type is determined from ArgType.

display format lazarus

This value must be an integer, or an EConvertError exception will be raised. The Index, Width and Precision parameters can be replaced by *, in which case their value will be read from the next element in the Args array. The exact meaning of this parameter depends on ArgType. '.' Precision Indicates the precision to be used when converting the argument. This behaviour can be changed by the usage of the '-' character. By default, the string is left-padded, resulting in a right-aligned string. If not, the inserted string will be padded with spaces. Width the inserted string must have at least Width characters. This can only take effect if the Width element is also specified. The default behaviour is to right-align inserted text. '-' tells Format to left-align the inserted text. If index is omitted, then the zeroth argument is taken. Index ':' takes the Index-th element in the argument array as the element to insert. If you want to insert a literal % character, then you must insert two of them : %%. The meaning of the different elements are shown below: '%' starts the placeholder. A placeholder looks as follows: '%' ':' ] ArgTypeĮlements between single quotes must be typed as shown without the quotes, and elements between square brackets are optional. Declarationįormat replaces all placeholders in Fmt with the arguments passed in Args and returns the resulting string.

display format lazarus

Format įormat a string with given arguments.













Display format lazarus