51Testing软件测试论坛
标题:
急于求救:使用Robot写代码太长想换一行继续写要怎么办????
[打印本页]
作者:
村上舞!舞!舞
时间:
2005-10-31 08:46
标题:
急于求救:使用Robot写代码太长想换一行继续写要怎么办????
急于求救:使用Robot写代码太长想换一行继续写要怎么办????
我最近用GUI写一个简单的代码:
Msgbox year(now)&month(now)&day(now) &Chr(13) & Hour(now)&Minute(now)&Second(now)&chr(10)&year(now)&month(now)&day(now)&Hour(now)&Minute(now)&Second(now)
这条代码太长了想换一行继续写请问高手一下怎么可以换一行。
作者:
ilovejolly
时间:
2005-10-31 09:21
换行符为 "_"
比如:
Msgbox year(now)& _
month(now)&day(now) _
&Chr(13) & Hour(now)&_
Minute(now)&Second(now)_
&chr(10)&year(now)&month(now)_
&day(now)&Hour(now)&_
Minute(now)&Second(now)
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2