GLBasic forum

Feature request => 2D => Topic started by: MrTAToad on 2008-Oct-26

Title: Result of load
Post by: MrTAToad on 2008-Oct-26
Would be nice if LOADSPRITE/MUSIC/SOUND etc etc returned TRUE if everything loaded okay, and FALSE if there was a problem
Saves having to get the sprites/bitmap size to see if there was a problem
Title: Re: Result of load
Post by: Schranz0r on 2008-Oct-27
OK = DOESFILEEXIST(file$) ;)
Title: Re: Result of load
Post by: Moru on 2008-Oct-27
Doesn't tell you if it's a corrupt file :-)
Title: Re: Result of load
Post by: MrTAToad on 2008-Oct-27
Indeed - a BMP file many not be a BMP file :)
Title: Re: Result of load
Post by: Schranz0r on 2008-Oct-27
Thats right  :|
Title: Re: Result of load
Post by: Kitty Hello on 2008-Oct-27
LOADSPRITE, GETSPRITESIZE ?
Title: Re: Result of load
Post by: Schranz0r on 2008-Oct-27
yepp