Works great in qb64

by lawgin (no login)

That missing space solved the problem when run with qb64.

Oddly, when I run the same program in qb4.5 it stops with an illegal function call at the SHELL statement. Here is the offending line directly copied:

SHELL "cmd /c ren " + CHR$(34) + "j:\bshare\" + nam$ + CHR$(34) + " " + CHR$(34) + new$ + CHR$(34)

Again, this works in qb64. Perhaps it's because the file is on a different drive?

Posted on Sep 15, 2011, 5:09 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
Re: Works great in qb64 on Sep 16
 You are right againlawgin on Sep 16
  *yw on Sep 16
 * Thanks for the info. Didn't know that about Qbasic! on Sep 17