Function arguments on multiple lines?

14 views
Skip to first unread message

QTP TESTING HELP

unread,
Jan 28, 2012, 9:10:54 AM1/28/12
to QTP TESTING
Hello,

I know I can split strings onto multiple lines using &_, but can the
same
be done for function arguments? I'd like to do something like the
below.
Function multilineArgument(x,y,z)
print x
print y
print z
End Function
call multilineArgument( "1" &_
"2" &_
"3")

TrainingHub

unread,
Jan 28, 2012, 10:58:30 AM1/28/12
to QTP TESTING
Function multilineArgument(x, _
y, _
z)
print x
print y
print z
End Function
call multilineArgument( "1", _
"2", _
"3")
Reply all
Reply to author
Forward
0 new messages