Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SBT Custom app &Command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00747423
Message ID:
00747436
Views:
13
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform