small incbin issue

BlitzMax Forums/BlitzMax Programming/small incbin issue

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I can do this:

Incbin "weapons.png"

But not this:

path$="weapons.png"
Incbin path$

The compiler says it's expects a "string literal" but encountered a identifier. (Anyone explain what that means =) )

Also incbin does not use lower() on the path, so Incbin "Weapons.png" does not work.. Same goes when you Load: a = Loadimage("incbin::imagename"), where it fails if incbin is written with any capitals. Is this a bug/something to be fixed/ or am I useing the command in the wrong way?