User:Dan Bron/Temp/UndocumentedForeigns

From J Wiki
Jump to navigation Jump to search

List of undocumented foreigns in J I originally posted on the original Wiki.


Please document all the foreigns. The following is a list of foreigns used by the scripts shipped with J (or in addons) which are not documented under '~system/extras/help/dictionary/xmain.htm'. I ignore the GL family (x = 11).

 x:    y: Script                              : Line#: Line
 7:    4:   ~system\packages\misc\xenos.ijs   :    65:   memrel=: 7!:4       NB. memory manager release
 9:
       5:   ~system\packages\misc\xenos.ijs   :    69:   prompts=: 9!:5      NB. set input prompt
      15:   ~system\packages\misc\xenos.ijs   :    78:   psq=: 9!:15         NB. query positioning and spacing
13:
      10:   ~system\main\debug.ijs            :    44:   dbrrx=: 13!:10
      16:
            ~system\extras\util\debugs.ijs    :    25:   jdb_dbtrace=: 13!:16
            ~system\main\debug.ijs            :    50:   dbtrace=: 13!:16
            ~system\packages\misc\xenos.ijs   :    97:   dbtrace=: 13!:16    NB. trace control
14:
       0:   ~system\packages\misc\xenos.ijs   :   100:   ddcon=: 14!:0       NB. connect
       1:   ~system\packages\misc\xenos.ijs   :   101:   dddis=: 14!:1       NB. disconnect
       2:   ~system\packages\misc\xenos.ijs   :   102:   ddsql=: 14!:2       NB. SQL
       3:   ~system\packages\misc\xenos.ijs   :   103:   ddfet=: 14!:3       NB. fetch
       4:   ~system\packages\misc\xenos.ijs   :   104:   ddcol=: 14!:4       NB. columns
       5:   ~system\packages\misc\xenos.ijs   :   105:   ddcnm=: 14!:5       NB. columns selected
       6:   ~system\packages\misc\xenos.ijs   :   106:   ddsrc=: 14!:6       NB. data source names
       7:   ~system\packages\misc\xenos.ijs   :   107:   ddsel=: 14!:7       NB. selection
       8:   ~system\packages\misc\xenos.ijs   :   108:   ddend=: 14!:8       NB. end sql statement
       9:   ~system\packages\misc\xenos.ijs   :   109:   dderr=: 14!:9       NB. error info
      10:   ~system\packages\misc\xenos.ijs   :   110:   ddtrn=: 14!:10      NB. begin transaction
      11:   ~system\packages\misc\xenos.ijs   :   111:   ddcom=: 14!:11      NB. commit transaction
      12:   ~system\packages\misc\xenos.ijs   :   112:   ddrbk=: 14!:12      NB. rollback transaction
      13:   ~system\packages\misc\xenos.ijs   :   113:   ddtbl=: 14!:13      NB. tables
      14:   ~system\packages\misc\xenos.ijs   :   114:   ddfch=: 14!:14      NB. fetch in columns
      15:   ~system\packages\misc\xenos.ijs   :   115:   ddcnt=: 14!:15      NB. rowcount of last ddsql
15:
       5:   ~system\main\dll.ijs              :    15:   cdf=: 15!:5
       6:
            ~addons\pregex\pregex.ijs         :   132:   {.(+ 15!:1@(,&0 1 4)) 15!:1(15!:6<'y.'),4 1 4
            ~system\main\dll.ijs              :    28:   symget=: 15!:6
            ~system\main\jmf.ijs              :    69:   symget=: 15!:6 NB. get address of locale entry for name
            ~system\packages\odbc\odbc.ijs    :   339:   ple=. 15!:6 <y.
       7:
            ~system\main\dll.ijs              :    29:   symset=: 15!:7
            ~system\main\jmf.ijs              :    70:   symset=: 15!:7 NB. set name to address header
       8:
            ~system\main\dll.ijs              :    26:   gh=. 15!:8
            ~system\main\jmf.ijs              :    71:   allochdr=: 15!:8 NB. allocate header
       9:
            ~system\main\dll.ijs              :    27:   fh=. 15!:9
            ~system\main\jmf.ijs              :    72:   freehdr=: 15!:9 NB. free header
      10:   ~system\main\dll.ijs              :    16:   cder=: 15!:10
      11:   ~system\main\dll.ijs              :    17:   cderx=: 15!:11
      12:   ~system\main\jmf.ijs              :   103:   x=. 15!:12 y.                 NB. 3 col integer matrix
      13:   ~system\main\dll.ijs              :    31:   cdcb=: 15!:13
17:    0:   ~system\examples\phrases\phrc4.ijs:    19:   d18=: rxmatch=: 17!:0               NB. '' to get rxmatc