How to read a text file in the App directory?
|
05-09-2023, 03:33 AM
Post: #7
|
|||
|
|||
RE: How to read a text file in the App directory?
Here is some sample code from one of my apps, cur_name is the name of the text file. Keep in mind that lists are limited to 10000 length, so if reading a file longer than that many bytes, you have to iterate to get the contents.
LOCAL cur_name,fsize,fiter,fcontent,fstring:="",j; Code: fsize:=AFilesB(cur_name); |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to read a text file in the App directory? - mchris - 05-08-2023, 07:17 PM
RE: How to read a text file in the App directory? - Thomas_Sch - 05-08-2023, 07:44 PM
RE: How to read a text file in the App directory? - mchris - 05-08-2023, 08:39 PM
RE: How to read a text file in the App directory? - Thomas_Sch - 05-08-2023, 09:00 PM
RE: How to read a text file in the App directory? - rprosperi - 05-08-2023, 09:22 PM
RE: How to read a text file in the App directory? - mchris - 05-09-2023, 09:56 AM
RE: How to read a text file in the App directory? - Didier Lachieze - 05-08-2023, 09:34 PM
RE: How to read a text file in the App directory? - Jacob Wall - 05-09-2023 03:33 AM
RE: How to read a text file in the App directory? - Tyann - 05-09-2023, 06:42 AM
RE: How to read a text file in the App directory? - rprosperi - 05-09-2023, 12:18 PM
|
User(s) browsing this thread: 2 Guest(s)