How can I read a set file into an array?

 

Because the set files does not have a variable size pattern I don´t know how to create an instruction to read from the beginning of the line to the “=”

and then from the “=” to the end of the line.

For example:

var1=100.00000000

exemple2=50

test3=400

par5=7

Someone can help me please?

 
Try reading it as a CSV file with a delimiter of "="
 
phy:
Try reading it as a CSV file with a delimiter of "="

It works!


Thank you