Subject: Re: My troubles with Select Case
From: Arnaud Nicolet <[EMAIL PROTECTED]>
Date: Tue, 22 Aug 2006 18:02:48 +0200
<>Because "Is < 100" is a boolean (it means "is that true that ls is =20
lower than 100?", which can be answered by true or false, i.e a =20
boolean).
A select case accepts integers and Strings only.


Sorry, it was the only working line. The troubles came from the "range" Case (where I wanted to test if the value is between two integers).

Also, my Select Case compiled fine if the value in the Select Case foo is a boolean (foo is a boolean). But I do not know if it worked that way (seems illogical to me).

Cheers,

Emile

PS:so nobody use Select for this kind of stuff ?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to