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: | 463 |
Nodes: | 16 (2 / 14) |
Uptime: | 145:53:28 |
Calls: | 9,382 |
Calls today: | 2 |
Files: | 13,558 |
Messages: | 6,095,021 |