realbasic-nug
[Top] [All Lists]

Re: RBScript fails on string =

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: RBScript fails on string =
From: Walter Purvis <wpurvis7 at bellsouth dot net>
Date: Wed, 30 Jul 2003 07:57:10 -0400
I believe, though I could certainly be wrong, that this has been a bug in the 
past, maybe even more than once, but it should be fixed now. I just ran your 
script with RB 5.2 (final) and it worked correctly, producing the output "l1 
matches l3:x=x" -- what version of RB are you using?

At 12:40 PM +0100 7/30/03, Robert Ward wrote:
>The following RBScript
>
>dim l1, l2, l3 as string
>
>l1 = "x"
>l2 = "y"
>l3 = "x"
>
>if l1 = l3 then
> print "l1 matches l3: "+l1+"="+l3
>elseif l1 = l2 then
> print "l1 matches l2: "+l1+"="+l2
>else
> print "l1 doesn't match anything"
>end if
>
>--
>produces the output
>l1 matches l2: x = y
>
>Is this a bug or am I doing something REALLY REALLY stupid?

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>