sqlDB eval "SELECT tg FROM master WHERE sc like '$searchstring';" {
if {$tg != ""} {lappend ::cleanlist [string trim $tg]; puts "master $tg"}
}
Why are all the other results missing when I use Tcl?
Luc <luc@sep.invalid> wrote:**************************
sqlDB eval "SELECT tg FROM master WHERE sc like '$searchstring';" {
if {$tg != ""} {lappend ::cleanlist [string trim $tg]; puts
"master $tg"} }
What is the exact contents of $searchstring just before this statement
is executed?
Why are all the other results missing when I use Tcl?
Unknown, although one possibility is that the 'browser' app and your
Tcl code are opening different sqlite datafiles that contain differing
data.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 406 |
Nodes: | 16 (2 / 14) |
Uptime: | 107:26:58 |
Calls: | 8,527 |
Calls today: | 6 |
Files: | 13,209 |
Messages: | 5,920,295 |