2009/5/5 ольга крыжановская <[email protected]>:
> rfe: C, C++, JAVA and other languages allow the definition of 'static'
> functions within classes. Can I get the same behaviour for ksh?
>
> I want to do this
> typeset -T myinterface=(
> function -S start
> {
> }
> function -S stop
> {
> }
> )
>
> Static functions should not have access to the 'this' data (called '_'
> in ksh) and are just called like
> myinterface.start arg1 arg2 arg3

We just came across the same problem. Yes, static functions in ksh
types would be *VERY* useful.

Irek

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to