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.

For example, in osX you are allowed to have a file with a / in the name, but this isn't acceptable in msdos.

You are?!? But that's the directory seperator!

There's no reason why IncBin shouldn't work with Const constvar$="whatever", if it doesn't then I dare say that's an oversight on Mark's part. I also agree with AngelDaniel, returnhandle=IncBin("whatever") would be a better implementation too... but then there's the question of how to handle the loader... currently it takes a string in the form of "incbin::whatever" how would a numerical equivalent be handled..?