Input variable value

Could be possible to get the value of a variable setting its name as an input? I mean, instead of setting a fixed variable name while programming, adding an input to get a certain variable.

Example:
11

So if I have the variables “RoomNumber1”, “RoomNumber2”, “RoomNumber3”, “RoomNumber4” and so on, and I want to get the value of a one of those, I can easily choose between them.

Use lists.

In the example above, a list could be useful, but I’m doing an app where I have multiple variables with some lists attached. All of them have similar names (for example, they all have in common the text “RoomName”, and then they have another piece of text (not a number), for example “London”, “Paris”, “Barcelona” or “New York”)

use lists or lists of lists
alternatively use the SQlite database
Taifun