Jump to content

what the eff


Recommended Posts

can someone tell me what is wrong with this? it tells me there is an error in expression at the $trend part of the script (in the second line)...... I am unable to figure out the problem. maybe I'm just tired. :D

$trend  = FileGetVersion ("C:\OfficeScan NT\PccNT.exe")
    If $trend = 7.3.0.1020 then 
       $trend2 = 0
    Else 
       $trend2 = 1
    EndIf

Amp Energy Drink: the official sponsor of me scripting at 2AM.

Link to comment
Share on other sites

I see what you did, but why does the spacing give autoitv3.1 problems? will it be different in the beta?

Think you need some coffee

the space had nothing to do with it.

look at the if statement

Returns a string containing the version information

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...