B4i Question Write and read a text - Erel (first post)    Aug 15, 2024   (1 reaction) Use File.ReadList / WriteList in both platforms.
Dim lines As List = File.ReadList(...) B4J Question How to read metadata from a TTF file - DonManfred (first post)    Apr 10, 2024 file.readlist is not a way to filter files.
file.readlist expect a Path AND a FILENAME. Both together should point to a file.
What is the content of path in your tryings?
Sounds like you are doing something weird B4A Question Accessing a Notepad text file - Erel (first post)    Nov 17, 2022   (2 reactions) Or:
For Each line As String In File.ReadList(File.DirAssets, "Scans.txt")
Log(line)
Next B4J Question File.ReadList - Is Order Guaranteed? - tchart (first post)    Apr 03, 2024 Awesome, Ive also checked this, and it seems reliable.
Dim l As List
l.Initialize
For c = 0 To 1000000
l.Add(c)
Next
File.WriteList(File.DirApp,"out.txt",l)
Dim l2 As List = File.ReadList(File.DirApp,"out.txt")
Log(l2.Get(0))
Log(l2.Get(l2.Siz B4i Question B4X XUI ASDraw - Erel (first post)    Nov 08, 2024 Tip:
Not good:
Dim newList As List : newList.initialize
newList = File.ReadList(Dir,testFile)
Good:
Dim newList As List = File.ReadList(Dir, textFile)
About the actual error - please post the full error message. The list returned from File.ReadList will hold string items. Maybe a different ty Italian aggiungere record a file esistente - Sagenut (first post)    Jan 26, 2023   (4 reactions) Se vuoi lavorare con delle liste puoi fare qualcosa così Lista1 = File.ReadList(dir , filename_lista1) Lista2 = File.ReadList(dir , filename_lista2) Lista2.AddAll(Lista1) File.WriteList(dir , filename_lista2) File.Delete(dir , filename_lista1) 'Opzionale B4J Question File.ReadList and ISO - Erel (first post)    May 29, 2019 The single use case for TextWriter / TextReader is for working with non-utf8 files.
Dim tr As TextReader
tr.Initialize2(File.OpenInput(...), "ISO-something")
Dim list As List = tr.ReadList
tr.Close B4J Question Split text file after end of line (EOL) - William Lancee (first post)    Mar 20, 2021   (2 reactions) If the source of myText is a file then File.ReadList accepts different EOL characters. Dim fileLines as List = File.ReadList(sourceDir, "filename.txt") B4A Tutorial [B4X] Features that Erel recommends to avoid - Erel    Dec 06, 2023   (89 reactions) File.DirRootExternal -> ContentChooser / SaveAs https://www.b4x./#content File.DirInternal / DirCache / DirLibrary / DirTemp / DirData / DirDefaultExternal / GetSafeDirDefaultExternal -> XUI.DefaultFolder Round2 -> NumberFormat, B4XFormatter: Most usages of Round2 are to format numbers. Modifyin B4i Question File.Readlist problem - John Sturt    Jan 12, 2016 Hello All
I have some translation files in UTF 8 format and am trying to use
TheList = File.ReadList (dir,Filename)
The files are being limited to 99 lines / entries which throws
run time out of bounds errors.
How do i load a file of > 99 lines?
Any solutions? Page: 1   2   3   4   5   6   7   Powered by ColBERT |