I have to read a text file in my skill program.
My text file is:
X = 40 Y=60
It's a position, and i have to read the value to fill a variable in a function, in my SKILL program.
How I can I do please?
Try using the fscanf command.
port = axlDMOpenFile("MISC", "abc.txt", "r")
fscanf(port, "x = %d y = %d\n", x, y)