Hi.

 

After a few months, I got some time again to work with JDB (I actually
have 832 unread J Programming emails).

 

Is it safe to just close a Folder in JDB without closing the database? 

   load 'data/jdb'

   hf=: Open_jdb_ 'c:\windows\temp'

   hd=: Open__hf 'test'

|101 Database not found: test: throw

|       throw'101 Database not found: ',db

   hd=: Create__hf 'test'

   hd=: Open__hf 'test'

   names__hd ''

COCREATOR   ColDups     ColHiddens  ColKeys     ColRefs     

ColTab      Columns     DBDir       DBSort      DBTrans     

Database    Locales     TabColnames TabCols     TabKeys     

Tables      Trans       locDB                               

   Close_jdb_ hf

   names__hd ''

|locale error

|       names__hd''

      

As you can see above, I have the "test" database open in my Windows\Temp
directory and after closing the folder, the database locale is not
accessible anymore (as is expected). I'm just wondering if this is a
"safe" shortcut or I should properly close the database first before
closing the folder.

 

r/alex

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

Reply via email to