Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
下面的代码返回 0
v = 0 obj.foo('',0) printf("v : %d \n", WIN32OLE::ARGV[1])
当它真的必须通过引用返回另一个值时。
例如在 python 中,它的工作方式如下:
v = obj.foo('') print('v : %d' % v)
我还不知道如何在 Ruby 上做同样的事情。