Hi Freinds,How can i use the array values which are defined in Test.Action1 in another Test.Action2?Is there any function?I can pass the values of variables where as iam not able to pass array which consists of set of values?Please can anyone give the solution fo it .Its very urgent.

Showing Answers 1 - 2 of 2 Answers

kvvsatish

  • Jul 18th, 2006
 

k lets suppose we have two actions and the following is the code

Action1

Dim a

a=array("2","3","4")
Environment.Value("p")=a

This statement maps the array to p which is a environment variable

Action2

var=Environment("p")

msgbox var(0)

msgbox var(1)

We can access the array elements with "var" which is mapped with that array


 

  Was this answer useful?  Yes

Rajarshi Roy

  • Jul 3rd, 2007
 

When I am trying to do the above steps for passing an array output from action 1 to action 2 I am getting an error message saying "This array is fixed or temporarily locked: 'environment' "
Why is this happening can anybody tell.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions