Quiz Question:

Ray Bailey rayb@specialist.co.uk
Fri, 15 Jan 1999 13:59:01 -0000


Sorry Previous Coding is wrong.

Make all operands "le" ... Don't know what I was thinking ???

> 
> Define Minimum-Field char*2 = FIELDA if FIELDA-DOL le FIELDB-DOL &
>                                     and FIELDA-DOL le FIELDC-DOL &
>                                     and FIELDA-DOL le FIELDD-DOL &
>                          else FIELDB if FIELDB-DOL le FIELDA-DOL &
>                                     and FIELDB-DOL le FIELDC-DOL &
>                                     and FIELDB-DOL le FIELDD-DOL &
>                          else FIELDC if FIELDC-DOL le FIELDA-DOL &
>                                     and FIELDC-DOL le FIELDB-DOL &
>                                     and FIELDC-DOL le FIELDD-DOL &
>                          else FIELDD
> 
> Define Minimum-Dol num*8   =  FIELDA-DOL if FIELDA-DOL le FIELDB-DOL &
>                                         and FIELDA-DOL le FIELDC-DOL &
>                                         and FIELDA-DOL le FIELDD-DOL &
>                          else FIELDB-DOL if FIELDB-DOL le FIELDA-DOL &
>                                         and FIELDB-DOL le FIELDC-DOL &
>                                         and FIELDB-DOL le FIELDD-DOL &
>                          else FIELDC-DOL if FIELDC-DOL le FIELDA-DOL &
>                                         and FIELDC-DOL le FIELDB-DOL &
>                                         and FIELDC-DOL le FIELDD-DOL &
>                          else FIELDD-DOL
> 
> 
> 
> I As you can tell this is okay for four items but many more and this will
> get very long winded.
> 
> 

Ray Bailey
Leicester
England

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.