如何跨越多行跨越函数调用参数? [英] How to span function call params across multiple lines?
问题描述
如何在VB.NET中执行此操作?
------------------------- --------------------------
SomeSubOrFuncCall(" param 1",
" param 2",
" param 3")
-------------- -------------------------------------
对现在,这是一个语法错误。我想通过在
处添加反斜杠它可以工作的行的末尾,但唉它没有。
谢谢:-)
Sean
How do I do this in VB.NET?
---------------------------------------------------
SomeSubOrFuncCall("param 1",
"param 2",
"param 3")
---------------------------------------------------
Right now, this is a syntax error. I thought by adding backslashes at
the ends of the lines it would work, but alas it does not.
Thanks :-)
Sean
推荐答案
2月19日下午3:59,sean.gilbert ... @ gmail.com写道:
On Feb 19, 3:59 pm, sean.gilbert...@gmail.com wrote:
如何在VB.NET中执行此操作?
------------ ---------------------------------------
SomeSubOrFuncCall(" param 1",
" param 2",
" param 3")
- --------------------------------------------------
现在,这是一个语法错误。我想通过在
处添加反斜杠它可以工作的行的末尾,但唉它没有。
谢谢:-)
Sean
How do I do this in VB.NET?
---------------------------------------------------
SomeSubOrFuncCall("param 1",
"param 2",
"param 3")
---------------------------------------------------
Right now, this is a syntax error. I thought by adding backslashes at
the ends of the lines it would work, but alas it does not.
Thanks :-)
Sean
SomeSubOrFuncCall(" param 1",_
" param 2",_
" param 3")
SomeSubOrFuncCall("param 1", _
"param 2", _
"param 3")
se*************@gmail.com 在新闻中写道:1171922389.523507.309510
@ j27g2000cwj.googlegroups.com:
se*************@gmail.com wrote in news:1171922389.523507.309510
@j27g2000cwj.googlegroups.com:
SomeSubOrFuncCall(" param 1",_
" param 2",_
" param 3")
SomeSubOrFuncCall("param 1", _
"param 2", _
"param 3")
使用下划线/
Use the underscore/
< se ********** ***@gmail.comschrieb
<se*************@gmail.comschrieb
如何在VB.NET中执行此操作?
----- ----------------------------------------------
SomeSubOrFuncCall(" param 1",
" param 2",
" param 3")
---------------------------- -----------------------
现在,这是一个语法错误。我想通过在行的末尾添加反斜杠
,但是它没有。
How do I do this in VB.NET?
---------------------------------------------------
SomeSubOrFuncCall("param 1",
"param 2",
"param 3")
---------------------------------------------------
Right now, this is a syntax error. I thought by adding backslashes
at the ends of the lines it would work, but alas it does not.
SomeSubOrFuncCall(" param 1",_
" param 2",_
" param 3)
Armin
SomeSubOrFuncCall("param 1", _
"param 2", _
"param 3")
Armin
这篇关于如何跨越多行跨越函数调用参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!