> > > > > 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 > > > > > > > ksh93 currently doesn't have a create discipline and you example doesn't > > invoke x.create so why should val be incremented? > > It's described within the "TYPES" document:
What is that document you mention and where can I find it? And more generally; is there any detailled documentation of ksh's new features besides the man page? Thanks! Janis
_______________________________________________ ast-users mailing list ast-users@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-users