Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you call a PRG which returns a value?
Message
De
03/11/2011 17:38:27
 
 
À
03/11/2011 17:21:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01527979
Message ID:
01527988
Vues:
73
How about the following:
lcSCCText = Home(1) + 'SCCTextX.prg' && Look for the enhanced one from VFPx.

If !File(lcSCCText)
	lcSCCText = Home(1) + 'SCCText.prg' && Use the original one that shipped with VFP
EndIf

SET PROCEDURE TO (lcSCCText) ADDITIVE
lcFunc = JUSTSTEM(lcSCCText)

lcFile = 'C:\MyCode\MyForm.scx'

lnReturn = &lcFunc(lcFile)

RELEASE PROCEDURE (lcSCCText)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform