Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array as an environment variable.....
#7
Solved: 11 Years, 4 Months ago
Hi Rachna ,see if the below code helps.Its not throwing type Mismatch error
Code:
public Arr
arr=Mytest
msgbox Arr(0)
Call mytest1( arr)
' Function Defination
Public function Mytest()
  Mytest=Array(1,2,3,4)
End Function
Public function mytest1(Byref arr )
   msgbox arr(1)  
End Function
Regards,
Ravi
Reply


Messages In This Thread
RE: Array as an environment variable..... - by kirk6acosta - 04-07-2011, 03:08 PM
RE: Array as an environment variable..... - by ravi.gajul - 11-01-2011, 05:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Not able to get the list of items in Delphi Combobox Environment Object Raj Aryan Singh 3 2,296 02-04-2020, 12:32 AM
Last Post: Raj Aryan Singh
  how to get relative path by using testdir environment variable Sathyaprasad 1 1,951 11-30-2017, 02:21 AM
Last Post: supputuri
  environment variable path for qc automation2012 0 2,873 01-18-2015, 08:18 AM
Last Post: automation2012
  Select does not work together with Environment.Value qtped 7 4,062 02-14-2014, 12:46 PM
Last Post: supputuri
  How to convert a single dimension array to two dimensional array venkatesh9032 3 5,541 02-10-2014, 03:07 PM
Last Post: pranikgarg

Forum Jump:


Users browsing this thread: 8 Guest(s)