Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing numeric variable by reference
Message
De
21/06/2007 14:27:08
 
 
À
21/06/2007 14:20:16
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Divers
Thread ID:
01234773
Message ID:
01234831
Vues:
9
>
>Maybe just convert the number to a string and pass that as a parameter by reference, I think the [4RS] flag is not available in VFP8, but you can find many equivalent routines in the web:
>
>
>lnChannel = 1
>lcBuffer = bintoc(lnChannel, [4RS]
>ods.dsOpen("g:\ssi605\data\ic\icmast",@lcBuffer)
>lnChannel = ctobin(lcBuffer, [4RS])
>


Thanks. Just tried it in VFP9, comes back as a type mismatch on the dsOpen() call...

For kicks I tried it with every combination of 1, 2, 4, R, and S options.
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform