Sponsored Content
The Lounge What is on Your Mind? What do you do during weekends ? :) Post 302233311 by matrixmadhan on Sunday 7th of September 2008 04:35:24 AM
Old 09-07-2008
This somehow got buried.

Giving life again Smilie
 

2 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Code to find weekends in Sybase.

Hi All, I need a help here, actually i want SQl code which will determine all Saturdays and Sunday in given year (say 2009) and display it's dates. E.g :- 3 ---> Saturday 4 --> Sunday (for 2009) and so on. Thanks in Advance for help. Regards, Arvind. (0 Replies)
Discussion started by: arvindcgi
0 Replies

2. Shell Programming and Scripting

Script to find n.of weekdays and n.of weekends in a given date

Hi All, Could you please provide the shell script to find number of weekdays and number of weekends for a given date for that month. Monday to friday should be considered as weekdays and Saturday and Sunday should be considered as weekends. Date should be passed as parameter. For... (13 Replies)
Discussion started by: ROCK_PLSQL
13 Replies
uevent::onidle(n)						    User events 						 uevent::onidle(n)

__________________________________________________________________________________________________________________________________________________

NAME
uevent::onidle - Request merging and deferal to idle time SYNOPSIS
package require Tcl 8.4 package require uevent::onidle ?0.1? package require logger ::uevent::onidle objectName commandprefix objectName request _________________________________________________________________ DESCRIPTION
This package provides objects which can merge multiple requestes for an action and execute the action the moment the system (event loop) becomes idle. The action to be run is configured during object construction. API
The package exports a class, uevent::onidle, as specified below. ::uevent::onidle objectName commandprefix The command creates a new onidle object with an associated global Tcl command whose name is objectName. This command may be used to invoke various operations on the object. The commandprefix is the action to perform when the event loop is idle and the user asked for it using the method request (See below). The object commands created by the class commands above have the form: objectName request This method requests the execution of the command prefix specified during the construction of objectName the next time the event loop is idle. Multiple requests are merged and cause only one execution of the command prefix. EXAMPLES
Examples of this type of deferal are buried in the (C-level) implementations all the Tk widgets, defering geometry calculations and window redraw activity in this manner. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category uevent of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
callback, deferal, event, idle, merge, on-idle COPYRIGHT
Copyright (c) 2008 Andreas Kupries <andreas_kupries@users.sourceforge.net> uev 0.1 uevent::onidle(n)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy