OK, I admit, it's ugly. :-) Now I realize it's also wrong. In the example, the inner-constructor-created member function split() cannot see member variable "N"; it can only see parameter "n" that is passed in from outside. If the code changes N later on, the split() function will be using a stale value.
- [julia-users] A workaround to use "." to access ... Zhong Pan
- [julia-users] Re: A workaround to use "." t... Jeffrey Sarnoff
- Re: [julia-users] Re: A workaround to use ".... Tom Breloff
- [julia-users] Re: A workaround to use "." t... Zhong Pan
- [julia-users] Re: A workaround to use ".&quo... Jeffrey Sarnoff
