Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INI section to array
Message
De
20/11/2008 12:23:35
 
 
À
20/11/2008 09:17:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01362902
Message ID:
01363233
Vues:
15
To not have a property to pass the array back, try this:
DIMENSION laArray[1]
IF GetINIEntries(lcInitFile, lcSection, @laArray)
   ... got data from INI
ELSE
  ... failed to get data
ENDIF
Then in the function, return .T. for success and .F. for failure; add the following line too:
EXTERNAL ARRAY laArray
after the function header line. Now you are passing the array to the function via reference.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform