Weekend challenge

J. Landman Gay jacque at hyperactivesw.com
Wed Jul 3 12:30:04 EDT 2013


On 7/3/13 9:39 AM, Geoff Canyon wrote:

> The above code is just for the ID, but even on that task it doesn't seem to
> do the same thing I did. The above will not flag this as a problem, but my
> code would:
>
> ID      SECTION SUBSECTION      TYPE|OP1|OP2
> AB      MediumOrchid
> AB      MediumOrchid    OrangeRed2
> AB      MediumOrchid    Khaki2  DeepPink1|DIV|MULT
> AB      MediumOrchid    Gray100 Gray100|MULT|DIV
> CD      OliveDrab1
> CD      OliveDrab1      Gray47
> CD      OliveDrab1      Gray47  Ivory2|PLUS|DIV
> CD      OliveDrab1      Azure2  Gray23|MULT|PLUS
> AB      MediumOrchid
> AB      MediumOrchid    Gray100
> AB      Gray40  Gray39  AntiqueWhite4|MULT|MINUS
> AB      Gray40  Gray39  Ivory3|MULT|MINUS
> AB      Gray40  Gray39  PowderBlue|MINUS|DIV

Right, that's why yours is better. The nature of the data is usually 
that only a single line would be out of sequence, but of course you 
can't rely on that.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list