hexagon logo

Read data out of a text file

I have a file named OPER.txt. It has an operation number in it. I would like my PCDMIS program to open this file and read the number inside, and assign the variable “operation” to this value. Could someone post some code that would accomplish this.

Thank you.
Parents Reply Children