Many Cards Versus One Card and a List Field
Randall Lee Reetz
randall at randallreetz.com
Wed Jan 16 05:02:17 EST 2008
Maybe i can offer an explanation. I use xtalk n situations that are sometimes much easier to accomplish in other more highly specialized tools because i can then extend my use of that solution in almost unlimited ways. I can connect the data to other tools i have built, extend it in knew ways, the walls i come up against are more frequently my own imagination rather than what some product manager at filemaker decided at two pm ten years ago. Also, i learn more and more about the structure of data and logic and use methods and semantics and my own abilities of solving problems. But mainly i can work everythiing from within a single tool. Keeps my world together.
-----Original Message-----
From: "Peter Alcibiades" <palcibiades-first at yahoo.co.uk>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: 1/16/2008 1:37 AM
Subject: Many Cards Versus One Card and a List Field
I seem to have cracked this one now, by brute force. But the solution really
shows how much this must be the wrong tool for the job - unless there is a
much better way, which there probably is, and I'd love to hear about. And
also would be interested to hear how one was supposed to find it!
For each of the 30 cells, I'm just doing two filters on the file in a temp
variable till the temp variable only contains records of the appropriate
kind. Then add the relevant items up into the right cell. No switch, no
match, no branching.
Then clear the variable by reloading the whole file into it, from another
variable to avoid endless disk reads, redo the filter with different criteria
for a different cell, and so on. So this is basically 30 snippets of script
to produce 30 different subsets of the file, one after another, one for each
cell.
On a 2G Athlon, you watch it going through its paces.... But it does work
after a fashion.
Then I will do printing by going to full screen and doing Print Desktop from
the shell. What a horrible kluge! Awk and a text editor for printing has to
be better than this. It would be embarassing if the people who will use it
were to find out just what a kluge it is.
Peter
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list