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

New Post: Returning a derived type with VBScript

Incredible! This is a huge improvement for me and helps me a lot. Thank you very much!

View Article


New Post: why no jscript.net?

hi, why you don´t can imlement jscript.net? it makes the engine better oop you can check if its a class definition with regex when its true you jscriptcodeprovider to compile it and automate use as...

View Article


New Post: why no jscript.net?

Hi furesoft, ClearScript's main goal is to give script languages the ability to access .NET objects and types. Since JScript.NET can already do that, we're not sure what value ClearScript would add to...

View Article

New Post: why no jscript.net?

but you can make it easier and modern to make oop

View Article

New Post: why no jscript.net?

Not sure what you mean. JScript.NET gives you OOP and full access to .NET objects and types. What value would ClearScript add?

View Article


New Post: Problem with nullable property of object

Thanks.

View Article

New Post: can i add my own language?

hi, how can i add own languages to clearscript?

View Article

New Post: can i add my own language?

Hi furesoft, You can provide your own ScriptEngine subclass. Unfortunately your code would have to be integrated with ClearScript itself, because some of ScriptEngine's abstract members are internal,...

View Article


New Post: Checking .NET Type

Hi, how do i compare a .NET type in V8ScringEngine? For example, i want to compare if thefollowing types are equal var x = new Order(); var y = new Customer(); if (typeof(x) === typeof(y){ }; This will...

View Article


New Post: Checking .NET Type

Hi ravetam, If you set ScriptEngine.AllowReflection to true, you can use Object.GetType for his purpose.if (x.GetType() === y.GetType()) { // do something }Good luck!

View Article

New Post: Checking .NET Type

that works, thanks!

View Article

New Post: A procedure imported by 'ClearScriptV8-64.dll' could not be loaded.

This is in web and all works fine if I build and w3wp.exe is not running. If I test the code and then I build while the w3wp.exe is running, you will get the above error. Then I kill the w3wp.exe...

View Article

New Post: Finding Variable References in Code Snippet

Hi, I have small snippets of javascript code that contain 1-10 references to variables that belong to a 6000+ survey. The vast majority of these items do not have values, and even of the ones that do...

View Article


New Post: A procedure imported by 'ClearScriptV8-64.dll' could not be loaded.

Hello scuty, We haven't seen this message before. Is it happening during the build, or after the build when requests come in? A call stack could be very useful. Thanks!

View Article

New Post: Finding Variable References in Code Snippet

Greetings! It sounds like you're looking for a JavaScript parsing or code analysis library. Esprima is one that's written in JavaScript. Good luck!

View Article


New Post: A procedure imported by 'ClearScriptV8-64.dll' could not be loaded.

It happens if I do this: I build and I open an request and it's all good, then I make a change in the Library (where ClearScript is) and then I debug and I make an request and it dies. This is the call...

View Article

New Post: Byte converted to Int

Is there anyway I can create a byte object inside V8? I tried var b = Byte.Parse('162'); But b has been converted to a Number.

View Article


New Post: Byte converted to Int

you can add a functionaddhostobject("int", new Func<object, int>(o => Convert.ToInt32(o));

View Article

New Post: A procedure imported by 'ClearScriptV8-64.dll' could not be loaded.

Hi scuty, Unfortunately we can't be of much help here. There are no ClearScript frames within the stacks you provided, and the fact that everything works when you restart the web worker indicates that...

View Article

New Post: Finding Variable References in Code Snippet

Hi, I ended up finding out that Jint includes a parser that can do what I was looking for. Here is an example of how I used it:List<string> itemRefs = new List<string>(); JavaScriptParser...

View Article
Browsing all 2297 articles
Browse latest View live


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