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 Bandelj
Messages: 98
Registered: July 2009
Member
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
Previous Topic:[Epsilon] Problem with ECL
Next Topic:AM3 Bug?
Goto Forum:
  


Current Time: Tue Sep 16 13:25:02 GMT 2014

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

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