Student Mode Code Display

Welcome to the Fraternity!

Commenting has been enabled. You can comment on all the Code Items now.

Set Action Parameters


Add This Code to My Favourite List
Enter Email

Contributed By IT Prof
Date 2016-03-12 08:22:22

'Tutorial: itprof_tut

'Reading Values which are Passed
' Var 1 and Var 2 are to be Set in the Action
'Properties first, before they can be used
' 
val_1 = Parameter("Var1")
val_2 = Parameter("Var2")

sResult = Int(val_1) + Int(val_2)
msgbox sResult

'Storing Values in to the Output Parameters
Parameter("Result") = sResult

'Syntax in the Caller Action to call above Action
RunAction ,5,4,result
msgbox result
'Output will be 9

Download Above Code

Comments:



Add your comments...
Name : *      
Email : *      
The content of this field will be kept private and will not be shown publicly

Your Comment/Answer *

Enter the text present in this box : *