Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Full Blown VFP-like Command Window in VB
Message
De
02/05/2007 09:22:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/05/2007 04:53:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01221709
Message ID:
01221764
Vues:
12
>>>Hi Graig,
>>>
>>>In your blog, I read "You can't do control structures such as IF/ELSE, FOR, DO WHILE, etc. in the Command Window. "
>>>
>>>I don't know if I get your statement right, but I've been doing that for years in VFP...
>>Really !
>>
>>from help
>>
>>The commands IF, ELSE, ENDIF, TEXT, ENDTEXT, EXIT, RETRY, RETURN, SUSPEND, DO WHILE, ENDDO, DO CASE, ENDCASE, SCAN, ENDSCAN, FOR, and ENDFOR are not allowed in the Command window; you must use these statements in a program.
>>
>>
>>
>>like Craig I don't think you can .Can you give an example .
>>
>>Thanks
>>
>>Nick
>
>Actually you can, but it has practically no value. If you type a small program in the command window, and use ctrl-enter instead of enter, you can highlight what you have written, right-click and choose Exectute Selection. What happens "behind the scene" is that VFP creates a temp file, execute it and deletes it, this is also what happens when you use the Execscript() function.

Hey Tore,
It has practical function when coupled with debugging especially with oleautomation where access to good documentation is less:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform