Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SBT Custom app &Command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00747423
Message ID:
00747436
Vues:
14
Fred, They are #'s so I don't want the quotes,

I have tried yy = ftp_out(lnuser, lnType) it works too, but that in in VFP and not the EVIL SBT.



>>I am getting a stupid INVALID CUSTOM OPTION error right after wiat wind # 6
>>
>>wait wind str(5)
>> lcCommand = 'do ftp_out with '+ str(lnuser)+', '+ str(lnType)
>> wait wind str(6)
>> &lcCommand
>>
>>How should I call this dynamic command?
>>
>>TIA
>
>You're missing quotes around the value you're building up in the string:
>
>lcCommand = 'do ftp_out with "'+ str(lnuser)+'", '+ str(lnType)
>
>
>Your second parameter is probably OK as digits. If your first parameter is digits, too, I'm not sure what could be wrong. Mybe you need the quatation marks on BOTH parameters?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform