Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dimensioning a property.
Message
From
03/04/1998 01:48:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Dimensioning a property.
Miscellaneous
Thread ID:
00089168
Message ID:
00089168
Views:
60
I have been converting a function into a method. I converted two global character strings to properties and that worked fine. Then I tried to convert a global two-dimensional array and I got errors. The old declaration had the form:

public gaArray[ lnDim1, lnDim2 ]

So I created a property called gaArray. Then in the Init method I wrote:

dimension this.gaArray[ lnDim1, lnDim2 ]

As I said, I got errors. I forget what they were right now.

Was I on the wrong track?

Or did I have the right idea but made a mistake somewhere?

For now I have retained the global array and the method works fine.

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Next
Reply
Map
View

Click here to load this message in the networking platform