BMax Still Implicitly casts TAnything to Byte Ptr

BlitzMax Forums/BlitzMax Programming/BMax Still Implicitly casts TAnything to Byte Ptr

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.

Why are you creating Byte Ptr variables at all if you want to be strict about things? Shouldn't you use Object or something?

Because I'm not using them as I demonstrated above, it's simplified for demonstration purposes ;)

BytePtr are for external usage

I'm using them for external usage. It doesn't change the problem because the implicit cast happens with Externs too. As I say, this is to demonstrate the problem, not my reason for using them.