I've updated github with this function (in todo.ijs): rcb =: 3 : 0 if. a: -: y do. y return. end. wd 'psel ', form__r 'fields updated if auto is set' hout__co > cutLF (LF,'|,') unmulticut <"1 y if. '__' -.@-: recordF__PARAMS RETURN__r do. wd__r 'set recordFC text *', (LF,'|,') unmulticut <"1 y end. y )
This function is the callback from the fields update form. I can't reproduce with a simple example because, the correct text does get put into the other form's edith control (2nd last line). THere's no error in J803. In j804, if the last line (y) is commented out, there is still the same error (in wd, after successfully changing control). Even in j804, calling wd (in repl) with the exact same data update to the open form does not cause an error. ----- Original Message ----- From: bill lam <[email protected]> To: General forum <[email protected]> Cc: Sent: Tuesday, July 14, 2015 6:27 PM Subject: Re: [Jgeneral] A type and record system for J Pascal, Please provide a simple example to demonstrate the edith bug. On Jul 15, 2015 5:56 AM, "'Pascal Jasmin' via General" < [email protected]> wrote: > This is a major upgrade to my type system for J (background: > https://github.com/Pascal-J/type-system-j) > > One of the main uses for that project is to validate multiple fields in a > record, and these tools let us build self validating and documenting GUI > forms in a single line of code. The project is available here: > > https://github.com/Pascal-J/records-j > > A sample app is a recordform that is a GUI builder to create new > recordforms. > > It looks better in J804, but there is a edith related bug that causes wd > to show an unneccesary error message (in fields subform of formbuilder when > it updates the master form's edith control). No crashes/popups in J803. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
