Jump to content

Recommended Posts

Posted

How do get the returned text value of an iniread to work in an if then?

$gettime = IniRead("\Config\Main.ini", "Main", "Timezone", "Nothing")
If $gettime = "Eastern" Then
Posted

How do get the returned text value of an iniread to work in an if then?

$gettime = IniRead("\Config\Main.ini", "Main", "Timezone", "Nothing")
If $gettime = "Eastern" Then
$gettime = IniRead("\Config\Main.ini", "Main", "Timezone", "Nothing")
$o_string=stringinstr($gettime,'Eastern');Search in $gettime for this string Returns the line where it is
If NOT @error Then

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
×
×
  • Create New...