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?
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?