Thank you for the help; as Marco stated, the fpdoc does not give any
information.

2006/8/10, Graeme Geldenhuys <[EMAIL PROTECTED]>:
As per Kylix 3 help:
---------------------------------------
Formats a string and returns it to a variable.

Unit:
  System

Category:
  string handling routines

Delphi syntax:
  procedure Str(X [: Width [: Decimals ]]; var S);

Description:
In Delphi code, Str converts X to a string representation according to
the Width and Decimals formatting parameters.  The effect is like a
call to Write except the resulting string is stored in S instead of
being written to a text file.

X is an integer-type or real-type expression.  Width and Decimals are
integer-type expressions.  S is a string-type variable or a zero-based
character array variable if extended syntax is enabled.
---------------------------------------

Hope that helps...

Regards,
  Graeme.




On 8/8/06, Alexandre Leclerc <[EMAIL PROTECTED]> wrote:
> I see some fancy things about this function, but can't find
> documentation on it: Str(e:digits:precision, s); looks like compiler
> 'magic'...
>
> --
> Alexandre Leclerc
>
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
>


--
There's no place like 127.0.0.1

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives



--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to