Coding Challenge

Malte Brill revolution at derbrill.de
Fri Mar 11 04:31:24 EST 2011


Hi Alex,

thanks for taking the time to look into this. (and not late to the party at all)

If I provide this data to your Script:

Steffen > Malte
Sascha < Malte
Fritz = Sascha

I get back

Fritz----->
Malte

in the field. Which is true, but it leaves steffen untouched in this case. I guess what I would be looking for is something like

function testValidRelationships pPerson1,pPerson2


which returns a triplet like

false,true,false

-- can not be older,can be younger, can not be the same age.

Do you think your script can be expanded to check this?

Thanks a heap again for taking the time to look into this.

Cheers,

Malte



More information about the Use-livecode mailing list