For them to be equivalent it should at least be 3 : '0!:0 y' <'standalonescript.ijs'
at the same time, the script should not contain any global assignments that contain local variables of the executing explicit definition. --- "N. Drinkwater" <[EMAIL PROTECTED]> wrote: > Your essay is very clear, but doesn't address the issue for standalone > applications. To try another tack, it seems to me that the behavior for > > j.exe -jprofile standalonescript.ijs > > should be identical to opening a minimal ijx using > > j.exe -jprofile > > and then running > > 0!:0<'standalonescript.ijs' > > At least I thought that was the implication of the section on debugging > standalone applications in the wiki. However, the former ends with an > error and the latter is ok when, for example, the script contains > > t=:'some global in any script locale' > > The little helper assignments using =. (like t=. prior to type=:) didn't > present any problem until J 6. Couldn't those assignments in the > standard library scripts be changed to, for example, t=: ? > > Norman > > Roger Hui wrote: > > I have written an essay on the name resolution mechanism in J: > > http://www.jsoftware.com/jwiki/Essays/Name_Resolution > > > > If you think that there is some behavior that can not be > > explained by the rules as described, please say so in the > > commentary section at the end of the essay. > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
