Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Advanced Scripting Environment (EASE) » Problem using endsWith in javascript rhino script shell
Problem using endsWith in javascript rhino script shell [message #1821833] Thu, 20 February 2020 20:21 Go to next message
Mario Jauvin is currently offline Mario JauvinFriend
Messages: 79
Registered: October 2015
Member
If I type the following in the Rhino Script Shell:

print("hello".endsWith("o"))


I get the following error:

TypeError: Cannot find function endsWith in object hello.


Using eclipse 2019-12 with EASE latest. Second attempt at writing a simple script and I am stuck at the very beginning.
Re: Problem using endsWith in javascript rhino script shell [message #1822095 is a reply to message #1821833] Thu, 27 February 2020 07:58 Go to previous message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 232
Registered: July 2009
Location: Graz, Austria
Senior Member
Strange, the example works as expected in the script shell. Are you sure that your installation is correct?
Previous Topic:Access classes from other eclipse plugins
Next Topic:Running SWTBot in EASE Script in Headless Mode
Goto Forum:
  


Current Time: Tue Aug 16 22:46:41 GMT 2022

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

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

Back to the top