>>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
Nick,
They can be used in command window:)
Instead of [enter] use [Ctrl+Enter] while writing in command window (and even semicolon for continuation). Select block run. It's same as selecting code anywhere and executing.
Cetin