Hi, ${x.f} and ${ f;} should be the same AFAICT:

#!/usr/bin/env ksh

typeset -T X=(
        typeset val

        function f {
                .sh.value=${_.val}
        }
)

function f {
        .sh.value=${x.val}
}

X x=(val=hi)

# Only ${ f;} produces output.
printf 'x.f: %s\nf: %s\n' "${x.f}" "${ f;}"
print -v .sh.version

# x.f:
# f: hi
# Version AIJM 93v- 2013-06-28

-- 
Dan Douglas
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to