Shell in FBV017b 1 May, 2007

DOS specific questions.
Post Reply
VinceMcc
Posts: 5
Joined: Jan 25, 2007 17:17
Location: Nipomo, Calif.
Contact:

Shell in FBV017b 1 May, 2007

Post by VinceMcc »

Shell command does not work inside a Sub or a Sub within a Sub. The program compiles ok but nothing shows on the screen.
DrV
Site Admin
Posts: 2116
Joined: May 27, 2005 18:39
Location: Midwestern USA
Contact:

Post by DrV »

Do you have example code that exhibits the problem? Are you sure you are passing the correct path? Shell expects paths relative to the current directory (or absolute paths), which might not necessarily be the same directory as your executable.
VinceMcc
Posts: 5
Joined: Jan 25, 2007 17:17
Location: Nipomo, Calif.
Contact:

Shell in FBV017b 1 May, 2007

Post by VinceMcc »

Drv,
Thank you for your help. I found it to be my Color statement as I was
using it.
Cls: Color White, White: Cls: Color Black, White.
I changed it to:
Cls
Color White, White
Cls
Color Black, White.
Shell worked ok after I did this. To be sure I put it back to the original
color statement and I was able to duplicate the problem.
Shell ("dir *.bas")
Again thank you for your help. If i can be of any help in the future let
me know.

Vince McCarthy
Post Reply