Feature req.: flag to avoid incbinning during dev

BlitzMax Forums/BlitzMax Programming/Feature req.: flag to avoid incbinning during dev

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Perhaps you can try this:

Dev version
Global Dir$ = "./"
Rem
Incbin "Picture.png"
Dir = "incbin::"
end rem
Global Img:TImage = Loadimage(dir+"Picture.png")


Release
Global Dir$ = "./"
Incbin "Picture.png"
Dir = "incbin::"
Global Img:TImage = Loadimage(dir+"Picture.png")


Removing the "Rem" commands will hereby enable the incbins.
Placing them in will disable it.

Not really a beauty, but it will do.

Brings me to the questions.
Has the "#ifdef" request made before already been put in place?
That would also be a way to solve this prob.