2012/3/15 ольга крыжановская <[email protected]>

> I tried to get name spaces working in ast-ksh 20120229, but I get
> unexpected behaviour:
>
> I am trying to create an user type f_t in a name space foo and then
> create such a variable outside the name space bracket. However this
> gives me weired output:
> ksh -c 'namespace foo { typeset -T f_t=( integer ff=9  ; ) } ;
> .foo.f_t var1 ; print "${var1.ff}"'
> :
> :
> /home/fleyta/bin/ksh: .foo.f_t: not found [No such file or directory]
>
> Can some one explain what am I doing wrong?
>

The manual only mentions defining variables and functions in namespace. I
didn't expect it to define new types. :)

>
> Olga
> --
>       ,   _                                    _   ,
>      { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
> .----'-/`-/     [email protected]   \-`\-'----.
>  `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
>       /\/\     Solaris/BSD//C/C++ programmer   /\/\
>       `--`                                      `--`
>
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to