



Okay, maybe at a push I can understand the translator having issues with
On Error GoTo 0
but what's the story with complaining about the
GetEnv = .Environment( "PROCESS" )( UCase( sEnvVar ) )
in this
Function GetEnv( sEnvVar )
With CreateObject( "WScript.Shell" )
GetEnv = .Environment( "PROCESS" )( UCase( sEnvVar ) )
End With
End Function?
I do that kind of stuff fairly often. And it's certainly not a syntax error in VBScript!
Anyone know why this is catching in VC's throat?
Kind regards,
Bruce.
I repro'ed it with this code:
a = foo(1)(2)
wscript.echo(a)
Bug logged at http://bugs.activestate.com/show_bug.cgi?id=75710