delphi 中 str:=str+#13; 其中#13是什么意思啊?

解决方案 »

  1.   

    #13 就是回车键回车键的ASCII码就是13
    空格是的ASCII码32……
    ……
    ……网上随便就可以查到ASCII码的
      

  2.   

    http://dev.csdn.net/article/48/48658.shtm
    到这里下
      

  3.   

    用#跟一个0到255的无符号整型数(十进制或十六进制)来表示相应的ASCII码,比如:
    #89#111#117代表'You'
    字符串可以和这种表示方法结合使用,比如:
    'Line1'#13#10'Line2'文档原文引用如下:
    A control string is a sequence of one or more control characters, each of which consists of the # symbol followed by an unsigned integer constant from 0 to 255 (decimal or hexadecimal) and denotes the corresponding ASCII character. The control string
      #89#111#117
    is equivalent to the quoted string
      'You'
    You can combine quoted strings with control strings to form larger character strings. For example, you could use'Line 1'#13#10'Line 2'
      

  4.   

    谢谢各位出手相助,尤其是wzgdyn (地狱鸟)最及时的给予答复。谢谢你们!因事耽搁几天,不好意思,结账。