[Tcladdressbook-commits] Help TclAB_QuickStart.html,1.9,1.10
Status: Alpha
Brought to you by:
bdesgraupes
|
From: Bernard D. <bde...@us...> - 2004-08-01 06:31:45
|
Update of /cvsroot/tcladdressbook/Help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29220/Help Modified Files: TclAB_QuickStart.html Log Message: [add] and [remove] take multiple args Index: TclAB_QuickStart.html =================================================================== RCS file: /cvsroot/tcladdressbook/Help/TclAB_QuickStart.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- TclAB_QuickStart.html 30 Jul 2004 21:30:11 -0000 1.9 +++ TclAB_QuickStart.html 1 Aug 2004 06:31:36 -0000 1.10 @@ -136,14 +136,22 @@ <PRE> set groupid [lindex [addressbook groups -ids] 0] set theid [lindex [addressbook persons -ids] 0] - addressbook add $theid $groupid + addressbook add $groupid $theid +</PRE> +One can add several items at a time with this command: +<PRE> + addressbook add $groupid $theid1 $theid2 $theid3 </PRE><P><H3><A NAME="M11"></A>The [remove] subcommand</H3> Remove from a specific group the record corresponding to the ID <I>$theid</I>: this can be a person as well as a group. <PRE> set groupid [lindex [addressbook groups -ids] 0] set theid [lindex [addressbook persons -ids] 0] - addressbook remove $theid $groupid + addressbook remove $groupid $theid +</PRE> +One can remove several items at a time with this command: +<PRE> + addressbook remove $groupid $theid1 $theid2 $theid3 </PRE><P><H3><A NAME="M12"></A>The [parents] subcommand</H3> List the parents of a person record (the various groups it belongs to). <PRE> @@ -363,6 +371,6 @@ keylget grp GroupName clock format [keylget grp Modification] </PRE><P><HR> -<P> Last updated 2004-07-30 23:25:49<P> +<P> Last updated 2004-08-01 08:10:55<P> </BODY> </HTML> \ No newline at end of file |