{attribute}?

BlitzMax Forums/BlitzMax Programming/{attribute}?

JoshK(Posted 2008) [#1]
What is this? I found it in Mark's 3D math code.


tonyg(Posted 2008) [#2]
Mentioned here


JoshK(Posted 2008) [#3]
That is the code I originally found it in, and there is no explanation of what it does.


degac(Posted 2008) [#4]
{attribute}

Is it not related with reflection's support introduced by Mark with last BlitzMax update?
As I know you can create a sort of label {what_you_want} for every field/method of an object, to retrieve infos via reflection.


Dreamora(Posted 2008) [#5]
correct
It does not do anything as long as you don't use it.

I use it for {implements="Class1,Class2"} ... at the type declaration to do "interface implementation" like stuff from java.

just {attribute} and the like is worthless