Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [Epsilon] String wrapping under -> and .
[Epsilon] String wrapping under -> and . [message #617634] Thu, 15 May 2008 16:58
Aleksander Bandelj is currently offline Aleksander BandeljFriend
Messages: 98
Registered: July 2009
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

Previous Topic:[Epsilon] Problem with ECL
Next Topic:AM3 Bug?
Goto Forum:

Current Time: Tue Oct 06 09:50:34 GMT 2015

Powered by FUDForum. Page generated in 0.03223 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software