[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmt] [Epsilon] String wrapping under -> and .
|
- From: Aleksander Bandelj <aleksander.bandelj@xxxxxxxxxx>
- Date: Thu, 15 May 2008 18:58:59 +0200
- Newsgroups: eclipse.modeling.gmt
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7.1
There is a strange difference how PointExecutor and ArrowExecutor treat
Strings. For example:
var colorNames:=Sequence {'white', 'green', 'yellow', 'orange', 'red'};
colorNames->indexOf('red').println(); -- Java String, identity
comparison, prints -1
colorNames.indexOf('red').println(); -- EOLString, equality comparison,
prints 4
-a