You can't do it EASILY. I won't explain harder way, it's too complicated.
CLEO4 provides the easiest way to do what you're gonna do.
You need to create string with section name or key, but you have number (integer here).
Create in .ini for example:
id_1 = 400
id_2 = 401
|0AF0: [email protected] = get_int_from_ini_file "cleo\config.ini" section "SectionName" key "intKey" |
Read Integers in loop. From section "ID", from key from created string with incremented ID.
Read until it successes (returns true), break on failure.
In next step read if you have read ID: create formatted string of "%d" with ID as argument.
It will be section name.
Create key names with pattern "ASD%d" and incremented number from 1 as argument.
Break on failure.
To create string with number:
Where [email protected]
is outputted string and [email protected]
However it's harder stuff and it's likely that you will understand what's described in this post.