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

Edited Issue: Unable to use IEnumerator objects from script [14]

When trying to enumerator elements by using collection.GetEnumerator(), the script engine cannot find the enumerator's MoveNext() method even though it is public accessible.E.g. for List<Foo>, it...

View Article



Commented Issue: Unable to use IEnumerator objects from script [14]

When trying to enumerator elements by using collection.GetEnumerator(), the script engine cannot find the enumerator's MoveNext() method even though it is public accessible.E.g. for List<Foo>, it...

View Article

Edited Issue: V8Update fails on PCs with Traditional Chinese system locale [13]

The V8 build fails apparently because some V8 source files cannot be converted to the Traditional Chinese ANSI code page.

View Article

Commented Issue: V8Update fails on PCs with Traditional Chinese system locale...

The V8 build fails apparently because some V8 source files cannot be converted to the Traditional Chinese ANSI code page.Comments: Fixed in [Version...

View Article

New Post: Build issue on VS 2012 and Windows 7 x64

We've posted an update that fixes this issue.

View Article


New Post: How to use CLR enum in script?

Thanks for the detailed explanation. IMO, Javascript is a weak/dynamic typing language and that's one of its attracting points as a script language. Casting is natural in C# but strange in Javascript....

View Article

New Post: How to use CLR enum in script?

IMO, Javascript is a weak/dynamic typing language and that's one of its attracting points as a script language. Casting is natural in C# but strange in Javascript.​ We agree 100%. However,...

View Article

New Post: How to use CLR enum in script?

I see that we have a design philosophy difference here. You want to keep the .NETish part as much as possible. But when we use scripts, we want to minimize that as much possible. In ideal case, script...

View Article


New Post: How to use CLR enum in script?

Hi qrli!​ You want to keep the .NETish part as much as possible. But when we use scripts, we want to minimize that as much possible. In ideal case, script writers don't need to know .NET at all.​...

View Article


New Post: Reading Dictionary entries and other indexed properties in JavaScript

...aaaaaand since the Item syntax is masked by indexers in C# I forgot it was there, so it didn't occur to me to try that in JavaScript. D'OH! Thank you very much for the fast reply. Actually, I admit...

View Article

New Post: Clearscript on Windows Phone 8?

Although I've been told it's highly unlikely I'm gonna ask this anyway: Is it possible to get ClearScript to work on Windows Phone 8 or is the fact (so I've been told) that Reflection is not supported...

View Article

New Post: Reading Dictionary entries and other indexed properties in JavaScript

Thanks for the positive feedback! Please don't hesitate to let us know about any further issues you encounter.

View Article

New Post: Clearscript on Windows Phone 8?

ClearScript currently supports three script engines - JScript, VBScript, and V8. Unfortunately, none of them appear to support Windows Phone.

View Article


New Post: V8ScriptEngine.Compile vs. V8ScriptEngine.Script

I'm trying to wrap my brain around the advantages of compiling a script with V8ScriptEngine.Compile versus dynamically evaluating script code using V8ScriptEngine.Script. Suppose I have script code...

View Article

New Post: V8ScriptEngine.Compile vs. V8ScriptEngine.Script

Hello sgammans! Your first technique above (the one that goes through ScriptEngine.Script) is the right way to invoke an existing script function multiple times. We'd actually recommend caching a...

View Article


New Post: Clearscript on Windows Phone 8?

Thanks for the response. Too bad.

View Article

New Post: V8ScriptEngine.Compile vs. V8ScriptEngine.Script

Wow, I'm glad I asked then, because my test results so far are that re-evaluation of compiled code is faster than dynamic evaluation using the Script object, and coming from a C/C++/C# background I...

View Article


New Post: V8ScriptEngine.Compile vs. V8ScriptEngine.Script

Actually, on second thought, roughly speaking they should be equally fast, as both amount to re-execution of compiled code. The second technique does redeclare the function; that is, it reassigns a...

View Article

New Post: Sandboxing and security

ClearScript, Does your statement "If you don't expose any host objects, JavaScript code can only access built-ins such as Math" only apply when using the V8 Engine? It seems like if you use...

View Article

New Post: Sandboxing and security

Hello jusbuc2k!​ Does your statement "If you don't expose any host objects, JavaScript code can only access built-ins such as Math" only apply when using the V8 Engine?​ No, it applies to all supported...

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images