The other day one of my long running SQLite applications stopped
working in the latest J beta J 9.5. I had to change the name of the
bound for. name in the loop.
NB. create tables - NOTE: cannot use (create) in for_create. j 9.5 beta
for_crtsql. sql do.
crtsql=. ;crtsql
('unable to create table ->',crtsql) assert 0 = sqlcmd__dt crtsql
end.
The name "crtsql" was originally "create" and when it crashed the
value of "create" was a verb in the sqlite locale. This loop ran fine
in all previous versions of J including the current j9.41. Usually
this type of scoping anomaly indicates something is not quite right in
the recent beta.
The fix is easy - use another name - but I don't think we want to
launch easter egg hunts in the J codebase if this is a bug.
NB. version tested
Engine: j9.5.0-beta2/j64avx2/windows
Build: commercial/2023-05-02T22:44:50/clang-15-0-7/SLEEF=1
Library: 9.5.1
Qt IDE: 2.0.3/6.2.4(6.2.4)
Platform: Win 64
Installer: j9.5 install
InstallPath: c:/j64/j9.5
Contact: www.jsoftware.com
--
John D. Baker
[email protected]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm