Gerald Mylog wrote: > I managed to reproduce the problem with an empty form containing just one > button. > Changing the name of the button id to a name containing an underscore will > cause this problem. e g ok to ok_1 > You can do the changes with the form editor and save the changes but later > on it can't open the form again. > > Another thing I noticed is that you cannot use comments (NB.) in the form > definition section, which is really a pity because I use them as a very > sophisticated means of version control. Never delete anything, keep old code > in comments forever, FISH.... :-) > > Gerald > > > PS. > > FIFO - first in first out > LIFO - last in first out > FISH - first in still here
Understood now - ids cannot contain underscores, and the form editor should prevent this. I'll get it updated. Similarly, the form editor should prevent ids that conflict with 'wd' names, for example, naming a checkbox 'wd' is not a good idea. The form definition section is not really intended for comments. There is no reasonable way for the editor to know where to put the comments after an edit session. What I suggest is that you cut and paste the old definitions elsewhere in the script, and prefix with NB. (highlight and press Ctrl+Shift+N). You could also move the old definitions after the 'rem form end;' line. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
