accesing and changing type members

BlitzMax Forums/BlitzMax Beginners Area/accesing and changing type members

hi,

i have previoulsy programmed in blitz basic 3D but i have a question about accesing and editing type members(fields)

How do i do this in blitzMAX?

when i do:

pl.x = pl.x + 1

nothing happens... so is there a mysterious way that i ain't seeing here?


Thanks in advance!

Zep

That should work, and works fine for most people.

What exactly does or doesn't happen?

Like...


Type mything
x:Int=4
End Type

Local pl:mything = New mything
pl.x:+1
Print pl.x 'prints 5?

i was just going to answer you guys, when i ran into a bad problem:

can find interface for module "brl.blitz"


this happened after i updated to 1.06

You need to rebuild the modules in both release and debug mode.

thanks!