Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 351 Bytes

tcl语言学习.md

File metadata and controls

21 lines (13 loc) · 351 Bytes

tcl 学习

// package require struct::matrix package require csv

//csv 操作 ::struct::matrix xdata set chan [open $OPTS(csv_input_filename)] csv::read2matrix $chan xdata close $chan csv::joinlist [xdata get rect 0 0 end end]

puts stderr [xdata rows]

set curTime [clock seconds] set curTimeExpiredStr [clock format $curTime -format %Y-%m-%d]