Incbin, question

BlitzMax Forums/BlitzMax Beginners Area/Incbin, question

Hi all, is incbin used for including media into your exe ?

I have seen it being used in some code like

pseudo code below

Incbin "whatever.bmp"

then load("incbin::whatever.bmp")

Can someone explain this to me ?

Thanks guys

when you compile the program, the media file will automatically be included in your .EXE file:

This way you end up with a single .EXE, without the need to distribute any external media with your program.
Other than the mention of 'incbin', everything works exactly the same as using normal external files.

awsome, thanks xlsior !