Re: Easy quick hypertalk coding question

2008-04-17 Thread william humphrey
Hi I was having so much fun trying to learn how to do it as Eric outlined it that I forgot to go back and check the original sort. It turn out that the reason the original sort wasn't working. "sort cards by field index" --- the one line of code was because it needed to say "sort cards numeric b

Re: Easy quick hypertalk coding question

2008-04-16 Thread Mark Schonewille
Hi, Right, that's why I started with asking for the script. It ought to be a simple mistake. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz A large collection of scripts for HyperCard, Revolution, SuperC

Re: Easy quick hypertalk coding question

2008-04-14 Thread J. Landman Gay
william humphrey wrote: Eric THANKS A BUNCH! This is just what I needed as there are many cards each with an index field with a number in it. I should have been more specific but I was bamboozled that we couldn't just "sort the cards by fld x" like in hypercard. Actually, you can. I haven't b

Re: Easy quick hypertalk coding question

2008-04-14 Thread william humphrey
Eric THANKS A BUNCH! This is just what I needed as there are many cards each with an index field with a number in it. I should have been more specific but I was bamboozled that we couldn't just "sort the cards by fld x" like in hypercard. I am doing this to collect data from legacy hypercard sta

Re: Easy quick hypertalk coding question

2008-04-14 Thread Graham Samuel
William Is fld "index" just one field containing all the numbers you want to sort? If so, what is the item delimiter - is it comma or return or something else? If it's comma, the function max(fld "myIndexField") will tell you the largest number in the field. If the delimiter isn't comma

Re: Easy quick hypertalk coding question

2008-04-14 Thread Eric Chatonet
Bonjour William, Le 14 avr. 08 à 18:39, william humphrey a écrit : I forgot to say that it is a converted hypercard stack with thousands of cards. When in Hypercard I accomplished this by sorting the stack by the index fld. On Mon, Apr 14, 2008 at 9:40 AM, william humphrey <[EMAIL PROTECT

Re: Easy quick hypertalk coding question

2008-04-14 Thread Mark Swindell
Does the index field have 1 number per line? If so, "Sort field 1 ascending" works here (though it doesn't clear duplicates). On Apr 14, 2008, at 9:39 AM, william humphrey wrote: I forgot to say that it is a converted hypercard stack with thousands of cards. When in Hypercard I accomplishe

Re: Easy quick hypertalk coding question

2008-04-14 Thread Mark Schonewille
William, What's your script? Btw, what happened to your website? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz A large collection of scripts for HyperCard, Revolution, SuperCard and other programming la

Re: Easy quick hypertalk coding question

2008-04-14 Thread william humphrey
I forgot to say that it is a converted hypercard stack with thousands of cards. When in Hypercard I accomplished this by sorting the stack by the index fld. On Mon, Apr 14, 2008 at 9:40 AM, william humphrey <[EMAIL PROTECTED]> wrote: > Can someone help me with a function? > > If sort all cards by

Easy quick hypertalk coding question

2008-04-14 Thread william humphrey
Can someone help me with a function? If sort all cards by fld "index" doesn't work and fld "index" has a bunch of numbers in it which aren't in order and skip some values how do I 1. Find out what is the highest value in fld "index"? 2. Find out a list of any numbers that are duplicates? I'm afra