Jump to content

Skipping Like Gosub Did


Recommended Posts

I Am Looking For Something That Can Skip Lines Depending On The Variables... Like Gosub Did...

Ok Here Is The Script

$Res = IniRead (@ScriptDir & "\Pit_Script.ini","_Info_", "Res","")

#If $Res=800X600 Then (Goto A New Part Of The Script I'll Call It $800)
#If $Res=1280x1024 Then (Goto A New Part Of The Script I'll Call It $1280)
Ect...



$800:
Code For $800 Only


$1280:
Code For $1280 Only


Ect

Any Help?

Link to comment
Share on other sites

$Res = IniRead (@ScriptDir & "\Pit_Script.ini","_Info_", "Res","")

If $Res=800X600 Then

;$800:
;Code For $800 Only
endif

If $Res=1280x1024 Then (Goto A New Part Of The Script I'll Call It $1280)
Ect...

;$1280:
;Code For $1280 Only
endif


Ect

AutoIt3, the MACGYVER Pocket Knife for computers.

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