Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含一些文本的 .txt 文件。我想读取这个文件并将其存储到一个字符串中。有没有可用的功能?或者怎么做?请帮忙
define variable s as longchar no-undo. copy-lob from file "fileName.txt" to s.
DEF VAR ch-var 作为 CHARACTER NO-UNDO。
从值输入(文件名)。
重复:
导入未格式化的 ch-var。
结尾。