I'm using metakit with tcl and started with oomk last week.
Unfortunately I hit a problem I could not solve by trial and error.
My post to the starkit mailing list brought no answers... and I
feel it is a very empty mailing list... so I repost to metakits
main mailing list...
Basically my problem is how to use / create a blocked subview ...
this is why I tried oomk at all.
-- original posting --
Hi again.
Ok. I found how I can access the subviews... unfortunately this
dumps core when I apply it to blocked views.
This is how I do it:
db layout named_pairs {name {pairs {k v}}}
[db view named_pairs] as npv
$npv append name "T_cpu_core"
$npv cursor npc
set npc(#) 0
[$npc(pairs) clone] as T_cpu_core
$T_cpu_core append k "12sec" v "71C"
$T_cpu_core append k "23sec" v "73C"
For blocked pairs I tried:
% db layout named_pairs {name {pairs {_B {k v}}}}
db_db.named_pairs
% [db view named_pairs] as npv
% $npv append name "T_cpu_core"
0
% $npv cursor npc
% set npc(#) 0
0
% set npc(pairs)
::view10
% [$npc(pairs) blocked] as T_cpu_core
zsh: segmentation fault (core dumped) tclsh8.4
Any help welcome.
Regards, Robert S.
_____________________________________________
Metakit mailing list - [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit