[comp.lang.icon] Otherwise

tenaglia@mis.mcw.edu ("Chris Tenaglia - 257-8765") (09/04/90)

Concerning icon language constructs, I was wondering if there is any call
for an 'otherwise' construct. This would be used in a conditional. This idea
is based in part on tri-state logic that is popular in AI products.

        if (num/div) > lim
          then write("Is true.")
          else write("Is false.")
          otherwise write("Is unknown or &null or div by 0")

This might be a cleaner way of handling things than messing with the error
count, and could be very handy for development and debugging. Or maybe there's
a more Iconish way of handling it. Any ideas?

Chris Tenaglia (System Manager) |  "Eat a good book lately?"
Medical College of Wisconsin    |   Q to Worf      STTNG
8701 W. Watertown Plank Rd.     |        _
Milwaukee, WI 53226             |     =======  -------
(414)257-8765                   |          \===/===
tenaglia@mis.mcw.edu, mcwmis!tenaglia