Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Problem dealing with arrays in VBScript

$
0
0
Hello nbgedo!

ClearScript does not convert host arrays to VBScript arrays. To retrieve a value from a host array, you have to use a host method. For example:
engine.Execute(@"
    x = arr.GetValue(0)
    call arr.SetValue(x, 1)
");
Cheers!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



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