Language request

BlitzMax Forums/BlitzMax Programming/Language request

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.

In semantic terms it's probably a better idea to use the existing 'Type' keyword (since a type descriptor is already of type 'Type' - confused yet?).

ie. in this case
Type mytype
EndType

mytype is a Type

then extend the Type keyword in the language parser for an object so :-

Local s:mytype = New mytype
If Type(s) = mytype
' That's a nice new language feature - thanks Mark!
EndIf