Results 1 to 3 of 3

Thread: Use Action Parameters

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Answers
    8

    Use Action Parameters

    hi there...
    i have script in "Action1" like..
    x=5 ; y=5;
    z= x*y
    in "Action2"
    i have
    total=z*10
    so i need to make z as an action parameter and i need to call it in the Action2
    so how to call the action parameter
    can anybody help me in this regard

    thanks in Advance


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    211

    Re: Use Action Parameters

    1. In Action Settings of Action1 define z as an Output Parameter.

    2. In Action2 use the following Code
    total = Parameter("z") * 10

    Regards,
    Nawab


  3. #3

    Re: Use Action Parameters

    Another way you can do this, with less effort is:

    Public Function testFunc(x,y)
    z = x*y
    total = z*10
    testFunc = total
    End Function


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact