Jump to content

Recommended Posts

Posted

Hi,

i just wrote the following code:

If IniRead("settings.ini", "general", "running", 0) Then
    MsgBox(0, "Info", "Program is running.")
    Exit
Else
    IniWrite("settings.ini", "general", "running", 1)
EndIf

The specified txt-file does not exist. FileExists() returns 0 here and the Else-part is being executed as expected.

Andi

Posted

To answer your question with code

msgbox(48, "True == 1 ???", True == 1)
; But 
If 1 Then 
    msgbox(48, "1| evalutes to true")
Else
    msgbox(48, "1| evalutes to False")
EndIf

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...