从 Progress4gl 的文本文件中读取输入字符串

Bha*_*ran 2 progress-4gl openedge

我有一个包含一些文本的 .txt 文件。我想读取这个文件并将其存储到一个字符串中。有可用的功能吗?或者怎么做呢?请帮忙

Tom*_*com 5

define variable s as longchar no-undo.

copy-lob from file "fileName.txt" to s.
Run Code Online (Sandbox Code Playgroud)