Hi, here x.val is assigned after the constructor has already run. It should be assigned before so it's accessiable to the "create":
typeset -T X=(
integer val
function create {
((_.val++))
}
)
X x=(val=5)
print -v x.val # should print 6
--
Dan Douglas
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users
