Undocumented Data Type Shortcut
BlitzMax Forums/BlitzMax Programming/Undocumented Data Type Shortcut
| ||
@ seems to create a byte (or something that gets cut off at 255, which says 'byte' to me). E.g., Print 255@ Print 256@ Print 257@ Rem Should print: 255 0 1 EndRem |
| ||
and @@ is a short. Or you could just use :byte or :short |
| ||
Print 256:Byte is documented |
| ||
Yeah, this is correct -- @ is byte and @@ is short. Looks like it got missed out. |
| ||
i would love to see this :-) byte=@ short=@@ int=@@@@ long=@@@@@@@@ |
| ||
MrCredo: Only if you're sadistic. |
| ||
lol@Credo I was thinking it was a bad idea to make short two charachters but I guess you ran out of symbols eh :) |
| ||
So I'm the only one that actually likes MrCredo's idea? ;] |
| ||
yes. :) |
| ||
hey people, this was a joke :-) personaly, i don't like this shortcuts, and i think here should exist another shortcut for @@ |