-
VBS CODE:
Option Explicit
Sub Main
dim reftest
reftest=0
zp.testRef 5,reftest
zp.print reftest
End Sub
Main
VB.NET CODE:
Public Class VBClass
Public Sub Print(ByVal OutStr As Obj…
-
Reopen #343
Packages
```XML
```
System: macOS Ventura 3.2.1
Processor: x64
Code:
```C#
var engine = new Microsoft.ClearScript.V8.V8ScriptEngine();
```
Ru…
-
Hello,
is it possible to use "global members" if member and type have the same name?
Sample code here
```
using System;
using System.Drawing;
using Microsoft.ClearScript;
using Microsoft.Cl…
-
Is it possible to evaluate a property via the VBScript engine without having to specify its object explicitly.
This was possible in the "old" MS ScriptControl.
Perhaps the property could be search…
-
Hello again! i would like to disallow user to use class constrator and force to use method, how can i do this?
NoScriptAccess is not allowed for constructor
```csharp
public class Foo{
public …
-
Hello,
I have a problem with V8 Script engine. Application crashes when I use WebApplication project type in C#.
I work on a Mac with Intel processor.
OS 12.6 Monterey.
IDE Rider 2022.3.1.
.…
-
I defined a simple ClearScript .Net Core Console App and trying to unit test it.
I am able to build and run the executable. However I am not able to instantiate `V8ScriptEngine` when in unit testing…
-
If I try to enumerate an array when `DefaultAccess = ScriptAccess.None`. I get the error:
`Error: The object is not enumerable`
Sample:
```cs
using Microsoft.ClearScript;
using Microsoft.ClearS…
-
Hi,
I'm working on a custom trading indicator scripting over ClearScript. I have a TechnicalAnalysis C# Class and there are many indicators. I want to pass ClearScript(Javascript) variables to my T…
-
We strangely get a´n `ArgumentException` when disposing a `V8ScriptEngine`
```
System.ArgumentException: Delegate to an instance method cannot have null 'this'.
at System.MulticastDelegate.Thr…