Here is a simple script to generate a message box:
'#Language "WWB-COM"
Option Explicit
Sub Main
MsgBox "My message here", vbOkOnly, "FINISHED!"
End Sub
It works perfectly when I run it from the script editor. But if I try to run it via syntax (using the SCRIPT command), the message box does not appear, and I get the following messages in the output viewer:
ERROR : (16309) No error.
Error : Expecting a valid data type (eg. Integer).
The same thing happens if I try to run it via the Utilities menu (Utilities - Run Script).
Any thoughts on how to make it work via syntax? I'm on v18 running under Windoze (XP Professional with all the Service Packs installed).
Note to Python enthusiasts: Python is not an option--the folks who will be using this do not have Python, and will not install it just for this.
Thanks,
Bruce
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/"When all else fails, RTFM."
PLEASE NOTE THE FOLLOWING:
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (
https://listserv.uga.edu/).