It works indirectly. Tore explained it. It's not really working in the command window. It's copied to a prg and executed. The way I read Paul's post, everything will work in the VB Command window.
>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...
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer