Thank you for providing the wonderful https://code.jsoftware.com/wiki/Scripts/WS_Files  and for making it easily found.  I tried to modify it to install into its own locale, changing the coclass target and inserting the public functionality into z .  The tests no longer pass.  Please explain.  Thank you!  The alterations and use follow:

coclass'evbwsfiles'  NB. changed from coclass'z'

NB. Inserted lines at end of script

wssave_z_=: wssave_evbwsfiles_
wsload_z_=: wsload_evbwsfiles_
wsnl_z_=: wsnl_evbwsfiles_


dwl$ j
      JVERSION
Engine: j904/j64avx2/linux
Beta-i: commercial/2022-12-13T15:14:45
Library: 9.04.06
Platform: Linux 64
Installer: J904 install
InstallPath: /home/lambertdw/downloads/installs/j904
Contact: www.jsoftware.com

   load'../../evbwsfiles.ijs'
   ferase jpath '~temp/test.jws'
_1
   erase nl''
   abctst=. 1 2 3
   abetsz=. 1;2;3
   abdtst=. +
   cd1tst=. /
   cd2tsz=. "
   assert 3-:#   'a'wssave '~temp/test'
|assertion failure: assert
|       assert 3-:#'a'wssave'~temp/test'
l

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to