1# test the proxy interface to tequila
2# assume tequilas is running on localhost
3
4source tequila.tcl
5
6tequila::open localhost 20458
7
8tequila::proxy ;# this defines all mk::* procs as proxy calls
9				# datafile 'tqs' is open and ready for use
10
11mk::view layout tqs.people {name country}
12
13mk::row append tqs.people name jc country nl
14mk::row append tqs.people name nb country gr
15
16foreach i [mk::select tqs.people -sort name] {
17	puts [mk::get tqs.people!$i]
18}
19
20