Initialise string function result?

前端 未结 7 2079
粉色の甜心
粉色の甜心 2020-12-02 18:33

I\'ve just been debugging a problem with a function that returns a string that has got me worried. I\'ve always assumed that the implicit Result variable for functions that

7条回答
  •  离开以前
    2020-12-02 19:23

    This looks like a bug in D2007. I just tested it in Delphi 2010 and got the expected behavior. (1 line instead of 5.)

提交回复
热议问题