Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing array's by reference
Message
From
15/07/2003 18:41:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Passing array's by reference
Miscellaneous
Thread ID:
00810463
Message ID:
00810463
Views:
55
hello everybody.

i have a method which fills an undefined number (based on pcount()) of arrays. i would like to pass the, to be filled, arrays by reference, like this:
_SCREEN.GlobalStr.FillCodeList(;
	@This.a_CodeList1, ;
	@This.a_CodeList2, ;
	@This.a_CodeList3, ;
	@This.a_CodeList4, ;
	@This.a_CodeList5, ;
	@This.a_CodeList6, ;
	@This.a_CodeList7, ;
	@This.a_CodeList8)
all arrays are pre-dimensioned and exist, however since they are attached to an object an error is create ("Alias 'THIS' is not found.").

doing this with 'stand-alone' arrays it works fine. is there any way to pass 'object arrays' by reference?

thanks for all your help in advance (Vfp6 Sp5)
Next
Reply
Map
View

Click here to load this message in the networking platform