Size: 368
Comment: User command "Latest" introduced
|
Size: 1399
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
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 }}} |
|
Line 11: | Line 36: |
[[attachment:Latest_UC.zip | Download]] the script and the workspace. | [[attachment:Latest.zip | Download]] the script and the workspace. |
Contents
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