GLBasic forum

Feature request => IDE/Syntax => Topic started by: 9940 on 2009-Jul-15

Title: MAKEDIR()
Post by: 9940 on 2009-Jul-15
There isn't a command to make a directory  :S
Title: Re: MAKEDIR()
Post by: Kitty Hello on 2009-Jul-16
And none to move a file. I'll implement it in V7, sorry.
Title: Re: MAKEDIR()
Post by: Hemlos on 2009-Jul-16
Quote from: Kitty Hello on 2009-Jul-16
And none to move a file. I'll implement it in V7, sorry.

function copy: a$, b$
copyfile a$, b$
killfile a$
endfunction

Title: Re: MAKEDIR()
Post by: Kitty Hello on 2009-Jul-16
KILLFILE b$
COPYFILE a$, b$
IF DOESFILEEXIST(b$)
   KIlLFILE a$
ENDIF

;)
Title: Re: MAKEDIR()
Post by: 9940 on 2009-Jul-16
Also RENAMEFILE/RENAMEDIR are useful for bigger files