Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsScriptErrorMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Windows MBS Win Plugin 10.0 No Yes No Yes, Windows only No
Function: 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

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins