Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Statement that can return an expression to the calling function
#3
Solved: 12 Years, 10 Months, 3 Weeks ago
Hi,
Here is the sample code and let me know if you need any more info.

Code:
'this function will return the value is true or false
msgbox  MyFunction()
Public Function MyFunction ()
   blnFlag = False
  If 1 = 1 Then
      blnFlag = True
  End If
  MyFunction = blnFlag
End Function
Thanks,
SUpputuri


Messages In This Thread
RE: Statement that can return an expression to the calling function - by supputuri - 08-26-2009, 12:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 6,850 06-26-2015, 12:31 AM
Last Post: babu123
  Function return value is not passed during the 3rd iteration premanand1979 0 2,598 10-16-2014, 09:40 PM
Last Post: premanand1979
  Get the function name calling the function Shridevi.Salagare 1 4,064 09-07-2013, 05:07 AM
Last Post: jacosta
  getElementByid("myObhectId") return null??? qtptester 3 7,715 02-01-2013, 09:44 AM
Last Post: ravi.gajul
  Calling a HP Service Test Skript Gandalf2005 0 2,373 09-05-2012, 07:53 PM
Last Post: Gandalf2005

Forum Jump:


Users browsing this thread: 1 Guest(s)