Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an array as a reference
Message
From
17/04/2008 13:02:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/04/2008 07:51:53
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01311392
Message ID:
01311501
Views:
18
>I get a syntax error on both of these. The array is a property of the form.
>
>
>	.oTrans.SetFormUDF(THIS, @laFormPoints)
>	.oTrans.SetFormUDF(THIS, @.laFormPoints)
>
You can't pass that way. You either need a method returning reference to array in your class or create another copy with acopy() and pass that one.
Check return in help for a sample.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform