Posts: 1,988
Threads: 17
Joined: Apr 2011
Reputation:
0
Use sscanf, check out it's topic to find out how to do that. Tell us if you get any errors.
Posts: 46
Threads: 12
Joined: Aug 2010
Reputation:
0
All right. But I need a single value, and the provisions of which are known to me. More precisely, it equals the value of listitem.
So the same amount of value can be changed ..
There may be 3 and 4, 100 ...
Posts: 1,988
Threads: 17
Joined: Apr 2011
Reputation:
0
I don't get what you mean.
Posts: 46
Threads: 12
Joined: Aug 2010
Reputation:
0
Ok.
I have an empty array. Somehow I fill it ...
Next, I need to read a particular part of it.
This part is marked with two sides by |.
But the location of values in the array depends on the variable ...
string = "| sent | serinc | etc ...|"
If var = 1, then string = "sent". If 2, then string = "serinc"
Posts: 46
Threads: 12
Joined: Aug 2010
Reputation:
0
I do not understand ... This code should append the value of the array "string"