Hi I'm using version 4.5.7(2433), and I've found out, that you propably don't use csript.exe or wscript.exe when looking for errors in vbScript using F7, but maybe have build your own compiler.
When I use csript.exe or wscript.exe manually outside PsPad to run the following script, I correctly get an error code 800A01C2 about wrong number of arguments in 'GetLastUserNameLogon', but when I use F7 to find errors in the same vbScript, I get: Process completed, Exit Code 0. Dim sUserName : sUserName = GetLastUserNameLogon(sUserName) Dim sUserAppLocal : sUserAppLocal = C:\Users\" & sUserName & "\AppData\Local Function GetLastUserNameLogon() ' Do something to find sUserName GetLastUserNameLogon = sUserName End Function -- <http://forum.pspad.com/read.php?2,58116,58116> PSPad freeware editor http://www.pspad.com
