Jump to content

"For" With "case"


Recommended Posts

I need:

For $i = 1 to 5

case $i

$read = IniRead("test.ini", "test", "test" & $i, "error")

Next

Well, I need it to not have to define the various cases in my script already that they perform the same function

logically instead of numbers has to be the respective names of the variables

is it possible? or I have to define each case

Edited by GordonFreeman
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...