Differences between revisions 25 and 26
Revision 25 as of 2012-03-05 14:42:04
Size: 365
Editor: KaiJaeger
Comment:
Revision 26 as of 2012-03-05 14:54:08
Size: 1399
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

This User Command prints the fully qualified names of functions and operators together with time stamps and the user name to the session, sorted by time stamp (oldest first).

Note that fns/opr in scripted namespaces are '''execluded'''. In the context of a command latest they don't offer real value since they all get the same time stamp when the script gets fixed. This is more often misleading than useful.

The following is a sample session taken in the workspace "wtutor95" every Dyalog installation is coming with.

An empty vector means ALL fns/opr:
{{{
      ]q←Latest ⍬
      ⍴q
1 111
}}}

A positive integer n is treated as "report n fns/opr changed most recently:
{{{
      ]Latest2 6
 #.DRAG 2000.08.14 11:09:27 Dyadic
 #.DOCKACCEPT 2000.08.15 10:17:15 Dyadic
 #.MAKE_Tutor 2003.03.17 13:54:39 Dyadic
 #.SET_TAB_STOPS 2003.03.17 13:54:59 Dyadic
 #.BMPDIR 2003.03.17 13:55:10 Dyadic
 #.TOPIC 2003.03.17 14:17:31 Dyadic

}}}

User Command "Latest"

/!\ This page is under construction

Overview

This User Command prints the fully qualified names of functions and operators together with time stamps and the user name to the session, sorted by time stamp (oldest first).

Note that fns/opr in scripted namespaces are execluded. In the context of a command latest they don't offer real value since they all get the same time stamp when the script gets fixed. This is more often misleading than useful.

The following is a sample session taken in the workspace "wtutor95" every Dyalog installation is coming with.

An empty vector means ALL fns/opr:

      ]q←Latest ⍬                 
      ⍴q
1 111

A positive integer n is treated as "report n fns/opr changed most recently:

      ]Latest2 6
 #.DRAG           2000.08.14 11:09:27  Dyadic 
 #.DOCKACCEPT     2000.08.15 10:17:15  Dyadic 
 #.MAKE_Tutor     2003.03.17 13:54:39  Dyadic 
 #.SET_TAB_STOPS  2003.03.17 13:54:59  Dyadic 
 #.BMPDIR         2003.03.17 13:55:10  Dyadic  
 #.TOPIC          2003.03.17 14:17:31  Dyadic 

Download

Download the script and the workspace.

Version

The script is version 1.0.0 from 2012-03-05

Author: KaiJaeger

-- KaiJaeger 2012-03-05 14:37:53


CategoryDyalogUserCommands