Sign in to follow this  
Followers 0
Dirk Diggler

What happens with underline in betas?

4 posts in this topic

when i use it, AutoIt says "unterminated string"

$vbsscript = ' strComputer = "." ' & @CRLF & ' _

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") ' & @CRLF & ' _

...................

Share this post


Link to post
Share on other sites



when i use it, AutoIt says "unterminated string"

That's supposed to all be one line, not 3. :wacko:

Nomad :D


Share this post


Link to post
Share on other sites

when i use it, AutoIt says "unterminated string"

07th September, 2005 - v3.1.1.74 (beta)

Changed : Set _ to be a continuation character only after whitespace. It does not matter if a comment follows the continuation character or not. \ is not a continuation character. (by Nutster)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

$vbsscript = ' strComputer = "." ' & @CRLF _
& 'Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") ' & @CRLF _
& ;something else

Think this will work!


Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0