forked from ground/ground
Access variables in structs
This commit is contained in:
@@ -18,11 +18,9 @@ struct -point
|
||||
endfun
|
||||
endstruct
|
||||
|
||||
pusharg 43 32
|
||||
init &myPoint -point
|
||||
|
||||
set &myPoint.xpos 17
|
||||
set &myPoint.ypos 23
|
||||
println $myPoint.xpos
|
||||
|
||||
!myPoint.dingle &out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user