Don Guinn wrote:
> I'm not sure what my initialization code is doing yet, but for some reason
> it causes the ijx locale to come up as <'1' instead of <'0' . This causes
> wcsize_z_ to fail as it looks for SMHWNDP_0_ , which is not there as that
> locale is for something else. Don't know what yet. That's my fault. It is
> <'0' if I start up J without my initialization.
> 
> What concerns me is the assumption that the ijx locale is always <'0' . Is
> this a valid assumption? Should there be a name placed in the z locale
> containing the name of the ijx locale allowing a reference to it like
> SMHWNDP__ijxlocale in case the ijx locale moves?

The boot sequence does create the ijx window first, and since there is
only one such window, I think it is reasonable to assume that this is in
locale 0.

Your own initialization code should be run at the end of boot - this is
best done by putting it in the startup script.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to