Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
demoDataLog.tcl
00001 # $Id$ #
00002 
00003 package require kernel
00004 
00005 set log [kernel::new_DataLog "log.dat"]
00006 kernel::print $log
00007 
00008 $log writeComment "Test of DataLog class"
00009 $log writeTime
00010 
00011 for {set i 0} {$i <= 10} {incr i} {
00012     puts $i
00013     $log write "$i [expr 2*$i]"
00014 }
00015 
00016 $log breakLogging
00017 
00018 $log write "*** this should not be there ***"
00019 
00020 puts "isLogging: [$log isLogging]"
00021 
00022 $log resumeLogging
00023 
00024 $log endl 
00025 
00026 $log write "end of test"
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:24 for Jafar by doxygen 1.7.6.1
LAAS-CNRS