str函数怎么用?那位哥们有一些函数应用实例能给一份我吗?谢谢,本人刚开始看delphi!  
 
请发至  [email protected]

解决方案 »

  1.   

    Formats a string and returns it to a variable.UnitSystemCategorystring handling routinesDelphi syntax:procedure Str(X [: Width [: Decimals ]]; var S);DescriptionIn 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.