Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Case Statement
Fri, Oct 4 2013 7:59 PMPermanent Link

David Vick

The case statement is case insensitive when checking for duplicate options.

case ch of
   'A': //
   'a' : //

error with:  Duplicate case option 'a'
#65 and #97 also error.

Experimented with Ord and that doesn't work in Case Options -- e.g. Ord('A') errors with Expected constant value.
Tue, Oct 8 2013 3:26 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

David,

<< The case statement is case insensitive when checking for duplicate
options. >>

Thanks, I'll make sure that this is fixed.  There's a new build coming out
(finally) next week.

Tim Young
Elevate Software
www.elevatesoft.com
Image