Jafar
|
00001 # $Id$ # 00002 00003 # 00004 #/** demo macro for HelloWorld class. \file demoHello.tcl \ingroup helloworld */ 00005 # 00006 00007 package require helloworld 00008 00009 namespace eval helloworld { 00010 00011 proc demoHello { n } { 00012 # this is a demo tcl procedure 00013 # create n HelloWorld object and print them 00014 for {set i 0} {$i<$n} {incr i} { 00015 set h [helloworld::new_HelloWorld "Hello world ! ($i)"] 00016 $h printHello 00017 helloworld::delete_HelloWorld $h 00018 } 00019 } 00020 00021 } 00022 00023 package provide helloworld 0.3
Generated on Wed Oct 15 2014 00:37:20 for Jafar by doxygen 1.7.6.1 |