Object(Obj.Object) not working

BlitzPlus Forums/BlitzPlus Programming/Object(Obj.Object) not working

Yes, the syntax is wrong. You should use it like this:
Return Object.Object(Obj)
Type Obj
	Field x
End Type

o.Obj = New Obj
o\x = 127
h = Handle(o)
Print "handle = " + h
p.Obj = Object.Obj(h)

Print p\x

WaitKey()