Can I add a method to Int

BlitzMax Forums/BlitzMax Programming/Can I add a method to Int

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.

No actually, the same could not be said of strings, because strings are not simple datatypes but are objects.


Could Mikkel, Could. Not should. It could happen in plain english. (Semantics are nice, even when abused and misused)

Anyway, My point was a string conceptually just a buffer of chars, yet he found a way to make them objects yet still expose them as regular string variables. (Which makes me think bmax has hidden operator overloaders :) ) not that I think ints should be or will ever be objects...