this code, using get
- Code: Select all
class Punto
var _xcoor as int
var _ycoor as int
var _zcoor as int
def init(x as int, y as int, z as int)
_xcoor = x
_ycoor = y
_zcoor = z
get xcoor from var
and this, using pro
- Code: Select all
class Punto
var _xcoor as int
var _ycoor as int
var _zcoor as int
def init(x as int, y as int, z as int)
_xcoor = x
_ycoor = y
_zcoor = z
pro xcoor from var
are absolutely equivalent or is there some deep difference?