Blake, Thank you. That works. Is there a particular reason that no period is allowed? In iso-apl-cf there is a note in it's README that says "A component file must be named with a `.cf` extension;"

-------- Original Message --------
Subject: Re: [Bug-apl] component file creation?
From: Blake McBride <blake1...@gmail.com>
Date: Sat, June 06, 2015 11:10 am
To: alexwei...@alexweiner.com
Cc: "bug-apl@gnu.org" <bug-apl@gnu.org>

I just checked it out.  You can't have a period in a file name.  The following works fine:

)COPY /usr/local/lib/apl/wslib5/APLComponentFiles/ComponentFiles.apl

     'sqlite' CF_DBCREATE 'test.db'
     'sqlite' CF_DBCONNECT 'test.db'
     fh← CF_CREATE 'fname'

Hope this helps.

Blake


On Fri, Jun 5, 2015 at 8:16 PM, <alexwei...@alexweiner.com> wrote:
Hi bug-apl,

I'm not familiar enough with sqlite (or databases in general for that matter).
Am I doing something wrong in creating a component file, following these steps? I am not sure what "CREATE TABLE ERROR" means in this context.

)COPY /usr/local/lib/apl/wslib5/APLComponentFiles/ComponentFiles.apl

     'sqlite' CF_DBCREATE 'test.db'
     'sqlite' CF_DBCONNECT 'test.db'
     fh← CF_CREATE 'fname.cf'
CREATE TABLE ERROR
      CF_CREATE
      ^


⍝Alex 

Reply via email to