GLBasic forum

Main forum => GLBasic - en => Topic started by: ThinkSolveDude on 2007-Dec-14

Title: KILLFILE not killing on GP2x-F200's SD Memory card
Post by: ThinkSolveDude on 2007-Dec-14
I have a program that create a sprite and saves it. Then I created a new sprite and save it with this same name. This does not work. Old sprite still there. Then I try to KILL the file using KILLFILE.. that does not work either. Program works on Windows XP... not GP2X-F200.

Anyone else finding this same problem?

Could really use a point in the right direction. This is most frustrating...

Thanks in advance...

ThinkSolveDude
Title: KILLFILE not killing on GP2x-F200's SD Memory card
Post by: Kitty Hello on 2007-Dec-14
oh no!
Please post the code here. (mini)

Maybe it's a case sensitivity problem. Did the file exist in first place?
Title: KILLFILE not killing on GP2x-F200's SD Memory card
Post by: ThinkSolveDude on 2007-Dec-14
This one is getting me crazy but I think I am pinning the rest of my code down.

I have had the files named in both ucase and lcase and mixed case. Does not seem to help.

This does NOT delete the files.
KILLFILE "FILE01.BMP"
KILLFILE "file02.bmp

This does NOT delete the files either.
KILLFILE "file01.*"
KILLFILE "file02.*"

My program creates the files dynamically and then deletes them and recreates them.

Tell me what to try and I will give it a shot and report back results here.
Title: KILLFILE not killing on GP2x-F200's SD Memory card
Post by: Kitty Hello on 2007-Dec-15
no! .* is not supported.

Code (glbasic) Select
PRINT "TEST",0,0
GRABSPRITE 0, 0,0,32,32
SAVESPRITE "test.bmp", 0
KILLFILE "test.bmp"
Is it gone now?