Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameters
Message
De
26/11/2001 14:13:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Passing Parameters
Divers
Thread ID:
00585908
Message ID:
00585908
Vues:
38
I am trying to pass parameters from a VFP Exe to a FPD exe. I am using dos shell for my method to fire off the exe. My parameters are variables.

VFP6 Code (EXE)
-------------------------
strParam = 'Test Param'
blnParam = .t.
dteParam = {11/30/2001}
numParam = 15

!/n fpdtest.exe strParam blnParam dteParam numParam

FPD Code (EXE)
-------------------------
param strParam, blnParam, dteParam, numParam
------------------------------------------------------
What end's up happening is instead of capturing the value of my variable parameters, it captures the name of the variable itself.
Instead of 'Test Param' it is capturing 'strParam'

How can I pass and capture the value of a variable and not the name?

Thanks in advance,
Ben
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform