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 / pkg2_b.tcl < prev    next >
Text File  |  1998-10-17  |  528b  |  23 lines

  1. # pkg2_b.tcl --
  2. #
  3. #  Test package for pkg_mkIndex. This package is required by pkg1.
  4. #  This package is split into two files, to test packages that are split
  5. #  over multiple files.
  6. #
  7. # Copyright (c) 2998 by Scriptics Corporation.
  8. #
  9. # See the file "license.terms" for information on usage and redistribution
  10. # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  11. # SCCS: %Z% %M% %I% %E% %U%
  12.  
  13. package provide pkg2 1.0
  14.  
  15. namespace eval pkg2 {
  16.     namespace export p2-2
  17. }
  18.  
  19. proc pkg2::p2-2 { num } {
  20.     return [expr $num * 3]
  21. }
  22.