Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sub or Function
#2
Not Solved
You can do everything in a sub that you could in a function EXCEPT that you cant return anything back.
In your examples,
If C is a variable, it works for both function and sub and i think neither function nor sub will work if you put some constant like '1' in arguments list which is absolutely of no use.
Reply


Messages In This Thread
Sub or Function - by mv8167 - 07-12-2011, 09:18 PM
RE: Sub or Function - by rajpes - 07-12-2011, 10:19 PM
RE: Sub or Function - by mv8167 - 07-12-2011, 10:30 PM
RE: Sub or Function - by rajpes - 07-12-2011, 10:54 PM
RE: Sub or Function - by mv8167 - 07-13-2011, 01:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 5,932 06-26-2015, 12:31 AM
Last Post: babu123

Forum Jump:


Users browsing this thread: 1 Guest(s)