Hi, I want to read some data from a file for example something like this:

3 // number of variables
var1 = 40
var2 = 50
var3 = 70

I only want to read the value of the vars and write them to an array in my program, but I can't find out how to read the data as integers and not as characters

Any hint or sample app as it should be easy for the professional would be nice