The Mk4tcl command [view view] is composed of many subcommands:
- VIEW view blocked
- VIEW view clone
- VIEW view concat
- VIEW view copy
- VIEW view different
- VIEW view flatten
- VIEW view groupby
- VIEW view hash
- VIEW view indexed
- VIEW view intersect
- VIEW view join
- VIEW view map
- VIEW view minus
- VIEW view ordered
- VIEW view pair
- VIEW view project
- VIEW view range
- VIEW view readonly
- VIEW view union
- VIEW view unique
All of the commands above have the common feature that they return as their result a new view command that represents the view that results from some operation on the original view and other arguments (possibly including additional view(s)).
These are the commands that provide operations on views producing more views. This seems to be where the real potential for powerful use lies. A real shame that the most powerful commands are also the undocumented ones!
Most of these commands are straightforward wrappers around the methods of the c4_View C++ class, so if you know, or can understand the documentation of what those methods do, you have a good idea what these commands do. I'll fill in what I can figure out.
The command below is an exception; I don't know what it is for!
Here the all-caps designation VIEW indicates an instance command representing a view.
Something seems to be missing. [view select] gives you back a list of integers. Would be nice to have something like [view view select] that would return the selected rows as another view.
2002-08-25
(207.172.11.147)
Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated
