∇gg
[1] 4
[2] ∇
gg
4
x←gg
4
SYNTAX ERROR
x←gg
^ ^
I understand what is wrong with gg. The problem is the error message. I
think it is wrong. Shouldn't it be VALUE ERROR ?
Thanks.
Blake
Hi Elias,
not sure if I understood the problem correctly,
If the concern is that the first ravel element of the right arg is a
query string and the rest a some-how shaped
argument (and the total being ugly) then you could try the following
instead:
put the left arg (db) into the axis,
put th
Hi Elias,
Wow, looks cool!
/// Jürgen
On 04/11/2014 10:48 AM, Elias Mårtenson wrote:
I've been working on an SQL interface, and right now I'm at the point
where basic SQLite support works. Here's an example:
⍝ Load the native library
*'/home/emartenson/prog/apl-sqlite/lib_sqlite.so' ⎕
Hi Elias,
thanks, fixed in SVN 200.
/// Jürgen
On 04/10/2014 10:29 AM, Elias Mårtenson wrote:
In trying to fully understand how the . (period) operator works, typed
the following command and promptly crashed GNU APL:
*(10×2 3⍴⍳6){(⍺+⍵)⊣⎕←'LEFT: ⍺=',(⍕⍺),', ⍵=',(⍕⍵)}.{(⍺×⍵)⊣⎕←'RIGHT:
Have a look at IBM's AP127 documentation
http://www-01.ibm.com/software/awdtools/apl/library.html
See APL2 Programming: Using Structured Query Language (PDF)
SH21-1057-07, it's the 4th from the bottom.
I wouldn't recommend building anything like this today, but it would
be possibly instructive t