If this is the wrong group to raise these questions please suggest the proper one.
Your statement “Inspection of the Addons reveals that only in a couple of places was 18!:4 used where cocurrent would not serve as well.” is clearly restricted to code released with J. I have a fair amount of published code which violates these assumptions and I'd like to understand what I'll need to do.
Help on Android, which is my primary development platform:
18!:4 y | Switch Current. Switch the current locale to y at the end of the currently executing named verb. Initially the current locale is base. |
Help on Windows appears to be modified in accordance with the new rules:
18!:4 cannot be used directly, but only under the cover name cocurrent or coclass.
However, as I write this, the available beta update does not yet reject 18!:4 so I'd like to understand what the full rule will be.
Is the definition of concurrent in the current beta sufficient to get correct behavior?
Does that line of code have to be the only line in a named verb? Or could it be a parenthetical within a larger verb?
Is there anything magic about creating the name cocurrent?
Does the name concurrent have to be in the z locale in order to work properly?
Is there a proposed alternative for people writing applications that don't include the z locale?
To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.
assign_z_ =: 4 : '(x) =: y'
coclass 'OOP'
OOP_z_ =: <'OOP'
coclass =: 18!:4@boxxopen@:[ ((( 'C' , ]) assign boxopen)^:(0 = L.))
Ca_OOP_
┌─┐
│a│
└─┘