WindowsScriptErrorMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsScriptErrorMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 10.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for error details.
Example
dim w as new WindowsScriptMBS

w.Language = "JScript"

try
w.AddCode "function Test(a,b) { 1 return a+b; }" // 1 is there to make error

dim p(-1) as string = array("Hello ", "World from JavaScript")
dim x as string = w.Run("Test", p)
catch e as WindowsScriptErrorExceptionMBS
dim error as WindowsScriptErrorMBS = w.Error
MsgBox error.Description+EndOfLine+"in "+str(error.Line)+":"+str(error.Column)
end try

This class has no sub classes.

Some properties using for this class:


The items on this page are in the following plugins: MBS Win Plugin.


WindowsScriptErrorExceptionMBS   -   WindowsScriptMBS


💬 Ask a question or report a problem