Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When and when not to use "Parentheses"
#2
Solved: 12 Years, 10 Months, 3 Weeks ago
sub refers to subroutine. Always remember these two rules when calling a subroutine:

  1. When calling a subroutine without the Call statement, do not use parentheses.
  2. If you want to use parentheses always use Call statement.

Ex: Call datatable.Exportsheet ("C://sheet1",1)
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Messages In This Thread
RE: When and when not to use "Parentheses" - by Ankur - 10-20-2008, 03:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)