home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tcltk805.zip / tcl805s.zip / tcl8.0.5 / os2 / pkg / circ2.tcl < prev    next >
Text File  |  1998-10-17  |  557b  |  26 lines

  1. # circ2.tcl --
  2. #
  3. #  Test package for pkg_mkIndex. This package is required by circ1, and
  4. #  requires circ3. Circ3, in turn, requires circ1 to give us a circularity.
  5. #
  6. # Copyright (c) 1998 by Scriptics Corporation.
  7. # All rights reserved.
  8. # RCS: @(#) $Id: circ2.tcl,v 1.1 1998/10/17 00:21:39 escoffon Exp $
  9.  
  10. package require circ3 1.0
  11.  
  12. package provide circ2 1.0
  13.  
  14. namespace eval circ2 {
  15.     namespace export c2-1 c2-2
  16. }
  17.  
  18. proc circ2::c2-1 { num } {
  19.     return [expr $num * [circ3::c3-1]]
  20. }
  21.  
  22. proc circ2::c2-2 { num } {
  23.     return [expr $num * [circ3::c3-2]]
  24. }
  25.