Daniel,
Please search the files section. There are a few VFP run-time command windows. The one I wrote comes with source code and can be compiled for each VFP version.
Walter,
> I created a form with a Edit Box in it to Emulate Foxpro Command window in my Application. The form is called from
>"Development" menu with "Do form" method.
> The problem is it can't see any varibles I created in the Edit BOx. For example, If I type in the following two commands:
>
>a=5 (press enter)
>?a (press enter)
>
> Then I got error message saying "Variable not found".
> In the form Keypress (Case Keycode=13), I validate the expression then use &lcommand to execute it.
> It works fine on my table sql statements.
>
> I am new to Visual Foxpro. Much appreciated if can help
>
> My Email is
wtian@csc.com.au