Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live
↧

New Post: javascript blob

Hi , How can we give input from user for the expression . Thank you.

View Article


New Post: javascript blob

Please elaborate. How are you gathering user input? How is it represented? How would you like to use it from script code?

View Article


New Post: javascript blob

Hi, I have records with single field stored in list in a class i.e., name of person . Now i need to give the input expression to evaluate , and this input expression need to check for the records in...

View Article

Created Unassigned: GlobalMember property not found (regression) [57]

when upgrading from 5.3.10 to 5.4, my unit tests fail when trying to find a globalmember property, in a particular case. Some unit tests are better than a long speech so here are the tests (only the...

View Article

New Post: javascript blob

Hi, Sorry, still not clear:​ var input = ReadLine();​ var result = engine.Evaluate(input = list.ToString()); ​ Are you expecting the user to enter the script to be executed? Or is the user typing in...

View Article


Commented Unassigned: GlobalMember property not found (regression) [57]

when upgrading from 5.3.10 to 5.4, my unit tests fail when trying to find a globalmember property, in a particular case. Some unit tests are better than a long speech so here are the tests (only the...

View Article

Commented Unassigned: GlobalMember property not found (regression) [57]

when upgrading from 5.3.10 to 5.4, my unit tests fail when trying to find a globalmember property, in a particular case. Some unit tests are better than a long speech so here are the tests (only the...

View Article

Commented Unassigned: GlobalMember property not found (regression) [57]

when upgrading from 5.3.10 to 5.4, my unit tests fail when trying to find a globalmember property, in a particular case. Some unit tests are better than a long speech so here are the tests (only the...

View Article


Commented Unassigned: GlobalMember property not found (regression) [57]

when upgrading from 5.3.10 to 5.4, my unit tests fail when trying to find a globalmember property, in a particular case. Some unit tests are better than a long speech so here are the tests (only the...

View Article


Commented Unassigned: GlobalMember property not found (regression) [57]

when upgrading from 5.3.10 to 5.4, my unit tests fail when trying to find a globalmember property, in a particular case. Some unit tests are better than a long speech so here are the tests (only the...

View Article

Edited Issue: GlobalMember property not found (regression) [57]

when upgrading from 5.3.10 to 5.4, my unit tests fail when trying to find a globalmember property, in a particular case. Some unit tests are better than a long speech so here are the tests (only the...

View Article

Commented Issue: GlobalMember property not found (regression) [57]

when upgrading from 5.3.10 to 5.4, my unit tests fail when trying to find a globalmember property, in a particular case. Some unit tests are better than a long speech so here are the tests (only the...

View Article

New Post: javascript blob

Hi, user is typing in some data for the script to process. using (var engine = new V8ScriptEngine()) { WriteLine("Enter input"); var input = ReadLine(); foreach (PersonList person in list) { var...

View Article


New Post: javascript blob

OK, it looks like you're trying to pass input and person.name to a script function or expression. If that's correct, there are many ways to do that. Several were already demonstrated (see the...

View Article

New Post: javascript blob

Hi, Yes we are not also passing the input and person.name but also comparing the them i.e., comparing the input to the list(person.name) . Thanks.

View Article


New Post: javascript blob

Hi nsivakumarreddy, No matter what kind of data you need to pass to your script, you should be able to use one of the patterns above. Please let us know if you have other questions. Thank you!

View Article

New Post: redefining toString() - don't know what to expect

One of my users created a toString() function which miserably failed, always returning [object Undefined]. I created a test, and the unexpected behaviour seems to be triggered by using GlobalMembers. I...

View Article


Created Unassigned: VBScript ByRef arguments cannot seem to get to work. [58]

Great Library, really helpful!I ran into one situation where we have some existing VBScripts, the have subroutines and functions that take ByRef scalar types such as ints, double and the values are...

View Article

New Post: Crash when writing to a property without setter

Hello ! I'm using Clearscript 5.4 with default V8. It crashes when trying to write to a property without setter.. but only if I add another global object first, as illustrated with the test below (the...

View Article

New Post: VBScript ByRef arguments cannot seem to get to work.

Sorry I added a item to the issues, but probably should have been posted here instead.. Great Library, really helpful! I ran into one situation where we have some existing VBScripts, the have...

View Article
Browsing all 2297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>