Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> 2D - Category -> Basic -> Incbin

Incbin

Returns:

Nothing.

Description:

Embed a data file

Example:

Rem
IncBin embeds an external data file in a BlitzMax program that can 
then be read using the "incbin::" device name.
End Rem

' code snippet from demos/firepaint/firepaint.bmx

Incbin "stars.png"

Local stars=LoadImage( "incbin::stars.png" ) 

Comments

None.

BlitzMax Manual Forum

Blitz3D Equivalent Command