User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

lastlog_function [2007/03/02 02:32] (current)
Line 1: Line 1:
 +# $EPIC: lastlog_function.txt,​v 1.3 2007/03/02 02:32:04 jnelson Exp $
 +$__lastlog__(<​window>​ <​pattern>​ <​level>​ ...)
 +The <​pattern>​ argument is a [[what is a word|dword]],​ which is different from
 +most function arguments.
 +This function searches the lastlog buffer of window <​window>​ for
 +lines matching <​pattern>​ _and_ with lastlog level matching any of
 +<​level>​. All arguments are required, but you can specify additional
 +<​level>​s. If you wish all lines matching <​pattern>​ to be returned,
 +specify <​level>​ as ALL.
 +   * <​window>​ specifies the window to be searched.
 +   * <​pattern>​ specifies the pattern to match the line against.
 +   * <​level>​ specifies lastlog levels to match lines against.
 +A space separated list of matching lines is returned. These can be
 +applied to $[[line]](6) iff the window has not been altered since this
 +function was called.
lastlog_function.txt ยท Last modified: 2007/03/02 02:32 (external edit)