Reading input string from a text file in progress4gl

Bhavin Bhaskaran picture Bhavin Bhaskaran · Apr 2, 2012 · Viewed 9.2k times · Source

I have a .txt file having some text. I want to read this file and store it into a string. Is there available any function for that? Or how to do it ? please help

Answer

Tom Bascom picture Tom Bascom · Apr 2, 2012
define variable s as longchar no-undo.

copy-lob from file "fileName.txt" to s.