[fpc-pascal] Value:x:y syntax

Michael Van Canneyt michael at freepascal.org
Tue Feb 9 13:15:15 CET 2021



On Tue, 9 Feb 2021, Luis Henrique via fpc-pascal wrote:

> At https://lists.freepascal.org/pipermail/fpc-devel/2021-February/043569.html I saw the syntax "value: x: y".
>> str(value:6:3, valuestr);
> What is the name of this and where is it documented?

It is documented in the official documentation:

https://www.freepascal.org/docs-html/current/rtl/system/str.html

The write procedure also supports these formatting options, they are also
documented:

https://www.freepascal.org/docs-html/current/rtl/system/write.html


Michael.


More information about the fpc-pascal mailing list