[Jprogramming] Sqlite addon with J802/3

2014-11-22 Thread Jon Hough
I am attempting to use the Sqlite addon (ddsqlite) with J and am struggling to get a db connection. Environment:Linux Ubuntu 14.x, J802/3Sqlite 3 My code so far is: load 'data/ddsqlite' db =: '' conew 'jddsqlite' [ch=. ddcon__db '~/j803/testdb' this returns -1. It seems it cannot find

Re: [Jprogramming] Sqlite addon with J802/3

2014-11-22 Thread Brian Schott
Jon, This may be obvious, but your test fread and your ddcon__db strings are different. On Sat, Nov 22, 2014 at 3:50 AM, Jon Hough jgho...@outlook.com wrote: I am attempting to use the Sqlite addon (ddsqlite) with J and am struggling to get a db connection. Environment:Linux Ubuntu 14.x,

Re: [Jprogramming] Sqlite addon with J802/3

2014-11-22 Thread Jon Hough
Sorry, that is a typo in the original question. I made sure the strings were the same in the code. --- Original Message --- From: Brian Schott schott.br...@gmail.com Sent: November 22, 2014 9:44 PM To: Programming forum programm...@jsoftware.com Subject: Re: [Jprogramming] Sqlite addon with

Re: [Jprogramming] Sqlite addon with J802/3

2014-11-22 Thread bill lam
try add jpath to supply a real file path. On Nov 22, 2014 4:50 PM, Jon Hough jgho...@outlook.com wrote: I am attempting to use the Sqlite addon (ddsqlite) with J and am struggling to get a db connection. Environment:Linux Ubuntu 14.x, J802/3Sqlite 3 My code so far is: load 'data/ddsqlite'

Re: [Jprogramming] Sqlite addon with J802/3

2014-11-22 Thread Marc Simpson
Hi Jon, Your connection string is wrong; please see http://jsoftware.com/jwiki/JDD/Methods/Connect Working example: require'data/ddsqlite' db=: ''conew'jddsqlite' ddcon__db'database=',(jpath'~temp/test.db'),';nocreate=0' 4349166272 If you only want to access existing databases, you

Re: [Jprogramming] Sqlite addon with J802/3

2014-11-22 Thread Jon Hough
Oh,Marc, thank you. This did the trick: [ch=. ddcon__db 'database=',(jpath'~/j803/testdb') I should read the wiki more carefully. Thanks again, Jon From: m...@0branch.com Date: Sat, 22 Nov 2014 19:25:29 +0530 To: programm...@jsoftware.com Subject: Re: [Jprogramming] Sqlite addon with

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread Murray Eisenberg
(1) But I didn't really know which directory of the J distribution to search in. Had I known which one, I could just have looked directly (outside J)! (2) No, at least in jqt, I see no way to specify a directory in which to search: the Find in files dialog initiated from the Edit menu has a

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread Murray Eisenberg
But does scriptdoc still exist? It was a really handy utility. And, apparently like the current experimental state of oxygen, was not limited to the standard library. In fact, scriptdoc would work with one's one scripts, not just the distributed ones, provided one followed the simple format

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread Murray Eisenberg
I read the fired documentation page for joxygen, but I still don't have a clue from it how to run oxygen to get documentation on any given script. What package does one load? What is the syntax of the verb to run? On 21 Nov 2014 08:39:43 -0600, tom arneson t...@tomarneson.com wrote: See:

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread Raul Miller
Does http://www.jsoftware.com/docs/help602/user/scriptdoc.htm help? (You might also have to use j602 to get it to work properly. There's a lot of work to be done for j803.) Thanks, -- Raul On Sat, Nov 22, 2014 at 11:15 AM, Murray Eisenberg murrayeisenb...@gmail.com wrote: I read the fired

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread R.E. Boss
(2) As Burke wrote, specify e.g. YouNameIt in Edit|Configure|Folders, close J. After starting J again and inspecting FiF, you are able to see as depicted in https://www.dropbox.com/s/i4jk0f57hm5nw75/FiF.jpg?dl=0 Hope this helps. R.E. Boss -Original Message- From:

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread R.E. Boss
(1) Since FiF, like most other search tools, search subfolders as well, you could have given C:\(user)\j64-803 or whatever is appropriate to you. R.E Boss -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming- boun...@forums.jsoftware.com] On Behalf

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread Murray Eisenberg
No, unfortunately that .htm doc file for the J602 scriptdoc doesn't help: (a) As I originally indicated, using load 'scriptdoc' doesn't work in J803. (b) Even if I copy the J602 scripdoc.ijs into the J803 file tree and try to run it, I get a file name error from the 2nd non-commented line

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread chris burke
scriptdoc has been replaced by joxygen. There was a comment about joxygen being experimental on its wiki page http://www.jsoftware.com/jwiki/Addons/docs/joxygen, but that no longer applies and has been removed. You can use joxygen for any scripts. Please follow the example mentioned at the end of

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread bill lam
If you want scriptdoc, try comment out those offending lines. There was no strings.ijs for some years. If you want joxygen, try study the example mentioned at the bottom of the jwiki page. Certainly you also need to install pandoc as mentioned. On Nov 23, 2014 5:17 AM, Murray Eisenberg

Re: [Jprogramming] Where is scriptdoc / scripdoc?

2014-11-22 Thread tom arneson
Murray, Try this: 0 Install PanDoc. 1 Reboot so that PanDoc is added to PATH. 2 Run the example at the bottom of the joxegen wiki page to make sure it all works. 3 modify makedoc.ijs so FILES contains your script filenames (see my makedocs.ijs below). NB.%makedocs.ijs