bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] ⍝ comment ignored?


From: Juergen Sauermann
Subject: Re: [Bug-apl] ⍝ comment ignored?
Date: Mon, 6 Feb 2017 20:06:21 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi,

I don't want to restart the "A Comment is a Comment" discussion, but
if I remember correctly then the argument to the )FNS command (!) is the
prefix of the function names that shall be displayed.

GNU APL is a bit lazy in commands in that it does not complain about additional
arguments but simply ignores them. So

      )fns ⍝ doesn't show SQL∆Connect

actually means
      )fns ⍝

And it shows all functions whose name begins with .
Which normally are very few, if any.

So, like it or not,

      )fns ⍝

is different from

      )fns

For example:

      )copy 5 SQL
DUMPED 2017-02-06 13:19:58 (GMT+1)
      )fns 
SQL∆Begin       SQL∆Columns     SQL∆Commit      SQL∆Connect
SQL∆Disconnect  SQL∆Exec        SQL∆Rollback    SQL∆Select
SQL∆Tables      SQL⍙metadata
      )fns SQL∆
SQL∆Begin       SQL∆Columns     SQL∆Commit      SQL∆Connect
SQL∆Disconnect  SQL∆Exec        SQL∆Rollback    SQL∆Select
SQL∆Tables
      )fns SQL⍙
SQL⍙metadata

      )fns x
      )fns ⍝

/// Jürgen

On 02/06/2017 07:30 PM, address@hidden wrote:
full testing in workspace and in script

      )clear
CLEAR WS                 
      )fns
      )fns ⍝ aaa
      )fns ⍝ SQL∆Connect
      )fns ⍝ doesn't show SQL∆Connect
bad range argument ⍝ doesn't show SQL∆Connect, expecting from - to
      )copy SQL.apl
DUMPED 2017-01-27 16:05:06 (GMT-7)
      )fns
SQL∆Begin       SQL∆Columns     SQL∆Commit      SQL∆Connect
SQL∆Disconnect  SQL∆Exec        SQL∆Rollback    SQL∆Select
SQL∆Tables      SQL⍙metadata
      )fns ⍝ aaa
      )fns ⍝ SQL∆Connect
      )fns ⍝ doesn't show SQL∆Connect
bad range argument ⍝ doesn't show SQL∆Connect, expecting from - to
   ⍎')fns'
SQL∆Begin       SQL∆Columns     SQL∆Commit      SQL∆Connect SQL∆Disconnect  SQL          SQL?
     ∆Exec        SQL∆Rollback    SQL∆Select SQL∆Tables      SQL⍙metadata 
   ⍎')fns' ⍝ doesn't show SQL∆Connect
SQL∆Begin       SQL∆Columns     SQL∆Commit      SQL∆Connect SQL∆Disconnect  SQL          SQL?
     ∆Exec        SQL∆Rollback    SQL∆Select SQL∆Tables      SQL⍙metadata 








On Mon, 6 Feb 2017 09:54:45 -0700
address@hidden wrote:


in a workspace

      )fns

      )fns ⍝ shows SQL∆Connect
bad range argument ⍝ shows SQL∆Connect, expecting from - to






reply via email to

[Prev in Thread] Current Thread [Next in Thread]