Thanks, Ric

I've got used to taking it for granted that certain names are available without worrying too much where they come from.  Firing JQt up from scratch,  I can see "sort" there in the J locale. That presumably helps explain why "stldlib" doesn't need to reside in Public_j_ , since stdlib is loaded at JQt startup.  Probably the same on the iPad, which is elsewhere, charging up at the moment. We've seen below that both stdlib and socket scripts reside
in ...system/main/ .

Using the existence of "sort", displaying as " /:~ :/: " as a proxy for stdlib-loadedness,
it's evidently also there in Jconsole-J807  and Jhs807 .

MInor problem. Assuming you're talking about this page:
   https://code.jsoftware.com/wiki/Vocabulary/slashco  ,
the second bullet point has a slight glitch in appearance, at least in my installation
of Google Chrome under Windows 10:
[bullet symbol]  "Defined in the factory script stdlib.ijs which is located in ^ nbsp;~system/main/stdlib.ijs. "
(I've inserted a space at " ^ nbsp " to avoid re-formation of the symbol!)

The third bullet's display is fine.

Oddly, that page's time-stamp still reads:

 * "This page was last edited on 18 December 2017, at 00:34."
 *

Thanks again,

Mike

[I've kept the history as it isn't too long yet!]


On 26/10/2018 01:42, Ric Sherlock wrote:
For now I've changed the text on the wiki page to clarify that `open` only
applies to JQt.
I've also added a link to the page of the User manual that describes the
Standard Library in more detail.

On Fri, Oct 26, 2018 at 12:13 PM 'Mike Day' via Programming <
[email protected]> wrote:

I'd forgotten about that script, stdlib.ijs .

The verb "open" refers to a list, Public_j_ , of shortcuts for various
scripts such as plot, viewmat, and so on. For some reason, "stdlib" isn't
included. But it's still there, both in J807 and in J701 for iPad. So, for
the latter, (sorry, boxing is poor from this ipad):

    fdir'/j/system/main/*'
+----------+----------------+-----+---+------+----------+
|socket.ijs|2017 8 8 15 0 45|8962 |rw-|------|-rw-r--r--|
+----------+----------------+-----+---+------+----------+
|stdlib.ijs|2017 8 8 15 0 45|44089|rw-|------|-rw-r--r--|
+----------+----------------+-----+---+------+----------+

and the following rather long expression opens stdlib in the edit session
on the ipad:

    je '/j/system/main/stdlib.ijs'

Perhaps that remark on the J wiki about opening stdlib could use a warning
or stdlib added to Public_j_

Cheers,

Mike

Please reply to [email protected].
Sent from my iPad

On 25 Oct 2018, at 22:55, 'Jim Russell' via Programming <
[email protected]> wrote:
Since you asked, Mike,  I was following the instructions at:
https://code.jsoftware.com/wiki/Vocabulary/slashco , which said:
View definition(s) by entering in the J session:  open'stdlib'
I finally decided that sort_z_ would been he easier approach. But I
still don’t know why /: isn’t giving me what I want.
On Oct 25, 2018, at 2:17 PM, 'Mike Day' via Programming <
[email protected]> wrote:
iPod?

Yes, that's also happened for me very occasionally - in J701 on the
iPad.
Not under iOS12, as far as I recall, but that's probably not relevant.

So what does "open 'stdlib' " do on your iPad?   I don't recognise it

as a J action...  Or did you type something quite different?

Mike


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



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to