You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
258 B
13 lines
258 B
6 years ago
|
set o = CreateObject("Python.Interpreter")
|
||
|
if o.Eval("1+1") <> 2 Then
|
||
|
WScript.Echo "Eval('1+1') failed"
|
||
|
bFailed = True
|
||
|
end if
|
||
|
|
||
|
if bFailed then
|
||
|
WScript.Echo "*********** VBScript tests failed *********"
|
||
|
else
|
||
|
WScript.Echo "VBScript test worked OK"
|
||
|
end if
|
||
|
|