realbasic-nug
[Top] [All Lists]

RBScript fails on string =

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: RBScript fails on string =
From: "Robert Ward" <r dot ward at bangor dot ac dot uk>
Date: Wed, 30 Jul 2003 12:40:08 +0100
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>