如何跨越多行跨越函数调用参数? [英] How to span function call params across multiple lines?

查看:85
本文介绍了如何跨越多行跨越函数调用参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆