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.

Erm, the string class is exposed to modification, but it is in C. mod\brl.mod\blitz.mod\blitz_string.c

I've edited it before but with not much luck since I'm more used to basic. After adding a function, you must also add a reference in the struct within the .c file, within the .h file, and within the blitz_classes.i file.

BTW, there is really no way of saying how bmax thinks of its basic variable types. Presumably just data types since there are no fields/methods, but you never know.