On Aug 26, 2006, at 1:44 PM, Phil M wrote:
On Aug 26, 2006, at 11:09 AM, Terry Ford wrote:
BTW Thanks for pointing out the Case Is syntax, I hadn't ever
noticed that before.
And I'm still trying to figure out what the correct syntax is for
various permutations. As usual, the Rb documentation leaves a lot
to be desired.
My take is that when you use the "Is" syntax, the "Is" is a
substitute for the variable.
Try this with an editfield and a pushbutton with this in the Action
Code:
Dim a As Integer
a=val(EditField1.Text)
Select Case a
Case 1
MsgBox str(a)
Case Is = 2
MsgBox str(a)
Case Is>10,9
MsgBox str(a)
End Select
EditField1.Text="" // Clear EditField1
Terry
_______________________________________________
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>