Jump to content

simplify assignment of variables


Recommended Posts

There are five sets of text data in variables named in the following pattern:var1_1var1_2...var1_5 var2_1......var5_5 depending on which of five radiobuttons is checked, variables chosen1...chosen5 should be assigned the data from one of the five sets. Is there a way to simplify this process, rathen than if radiobu1 checked then chosen1=var1_1 chosen2=var1_2etc ?

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

  • Create New...