Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dimensioning a property.
Message
De
03/04/1998 01:48:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Dimensioning a property.
Divers
Thread ID:
00089168
Message ID:
00089168
Vues:
59
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform