Micro Focus QTP (UFT) Forums
Method definition syntax clarification - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Method definition syntax clarification (/Thread-Method-definition-syntax-clarification)



Method definition syntax clarification - lavsat - 06-29-2012

Hello

Code:
object.CheckProperty (PropertyName, PropertyValue, [TimeOut])

CheckProperty ([in] PropertyName, [in] PropertyValue, [in, optional] TimeOut)

From the above examples I know that if a text is within square brackets it is an optional parameter. However, in the object spy i see the example as given in the second statement.

Again, I know that [in] is a required parameter and [in, opitional] is an optional parameter.

My question is, what does that "in" in the brackets really mean.

Thanks,
Satish