Mappy with Blitz Max

BlitzMax Forums/BlitzMax Beginners Area/Mappy with Blitz Max

I'm using Mappy and everything is fine, expect from I don't kn ow how to look at the block properties (user data)? In Blitz Basic I did it like this example:

b.BLKSTR = MapGetBlock (xpos,ypos)
If (b\user1 = z) Then something

But for whatever reason it doesn't work under Max, does anybody know how to do it?

Thanks in advance...