locale question

11 views
Skip to first unread message

Thomas Arneson

unread,
Jul 8, 2026, 2:51:32 PMJul 8
to fo...@jsoftware.com
   JVERSION
Engine: j9.7.1/j64avx2/windows
Build: commercial/2026-04-06T04:05:46/clang-19-1-5/SLEEF=1
Library: 9.7.17
Qt IDE: 2.6.3/6.10.3(6.10.3)
OS Ver: Windows 11 Version 25H2 10.0.26200
Platform: Win 64
Installer: j9.7 install
InstallPath: c:/program files/j9.7
 
I have locale named pnum and want to remove it via coerase
 
coerase <'pnum'
 
1
 
conames''
 
base j jcfg jcompare
 
jgl2 jp jqtide jregex
 
jrx jtask pnum z 
 
NB. pnum is still there. i see this in both Android and Windows 11
 
 
 

Henry Rich

unread,
Jul 8, 2026, 3:39:01 PMJul 8
to fo...@jsoftware.com
By default, named locales cannot be erased.  [This is because one thread might delete a locale just as another thread starts executing in it; preventing a disaster would require an expensive RFO cycle every time a named locale is executed.  To avoid this named locales are /permanent/ by default, and 18!:55 is ignored for them.]

To make a named locale impermanent, create it explicitly with an x argument less than 0, as in

   _3 cocreate 'pnum'

Henry Rich
To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.

Thomas Arneson

unread,
Jul 8, 2026, 5:13:02 PMJul 8
to fo...@jsoftware.com
Henry, thanks for the rapid reply, however your suggestion fails for me. 
None of the documentation which I read mentioned the permanence of named locales.
the windows version of J 9.7 fails with the negative x. See the clip below:  
 
|domain error in cocreate, executing dyad 18!:3
 
| _1 cocreate'pnum'
 
|[-6] c:\users\tom\j9.7-user\temp\numpad.ijs
 
Press ENTER to inspect
 

Henry Rich

unread,
Jul 8, 2026, 5:25:20 PMJul 8
to fo...@jsoftware.com
Sorry, I misread the Wiki page.  Try


   _3 cocreate <'pnum'

Henry Rich

Henry Rich

unread,
Jul 8, 2026, 6:26:02 PMJul 8
to fo...@jsoftware.com
Look at https://code.jsoftware.com/wiki/Vocabulary/Foreigns#m18 for n=3 and 55.

Henry Rich

On 7/8/2026 5:13 PM, Thomas Arneson wrote:
Reply all
Reply to author
Forward
0 new messages