Im trying to read a line from a file and convert the line that was read into a value that be be linked to a comport.
so far i can read the line and display it into a message box so i know the value but i cant turn that into a comport.
Code: Select all
- Read a line from the file.
- filereadln fhandle line
- ; Display the line.
- messagebox line 'Number of Arm port'
- ; Repeat until the end of the file.
- Arm = line
- fileclose fhandle
- connect '/C=Arm'
I need a way of converting the LINE VALUE to a Text that can be read by the connect command.
Thank you for reading my comment. hopefully you can help me.