Like Mikkel says, Private is currently block-style only:
You can't yet hide individual fields or methods within a type, though something similar should be possible by extending a type:
It's worth bearing in mind that BlitzMax was never meant to be a full OO language -- it's only meant to bring in [what Mark considers to be] the most useful OO features. (I'd still like to see hidden methods and fields myself though!)
Private Type Oink Field x End Type Public
You can't yet hide individual fields or methods within a type, though something similar should be possible by extending a type:
Private Type Oink Field x End Type Public Type Oink2 Field y End Type o:Oink2 = New Oink2 Print o.y Print o.x
It's worth bearing in mind that BlitzMax was never meant to be a full OO language -- it's only meant to bring in [what Mark considers to be] the most useful OO features. (I'd still like to see hidden methods and fields myself though!)