Coding Challenge

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Mar 8 08:35:04 EST 2011


Malte,

Create lines with on each line the name and age of the subject (and possibly an id number), sort by age, check the line numbers.

What exactly do you want to do with the result?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce

On 8 mrt 2011, at 14:15, Malte Brill wrote:

> Hi folks,
> 
> this is over my head. I have a problem I can not tackle alone, so please let me scream for help...
> 
> 
> HEEEEEEEEEELLLLLLLP
> 
> 
> Imagine a group of kids:
> 
> Paul,Peter,Fritz,Madeleine,Joanne (and any additional number of kids)
> 
> I want to programmatically test on age relations of those kids:
> 
> e.g. Peter is older than Paul, Joanne is the same age as Paul.
> Now I want to be able to test if the statement Joanne is older than Peter (or same age, or younger) are valid or not. 
> I will need to be able to do this for all kids in the group. Any ideas on how to tackle that???
> 
> Cheers,
> 
> Malte






More information about the use-livecode mailing list