Page 1 of 1 1
Topic Options
#212621 - 2017-08-14 05:54 AM ReadAll()
AndreLuiz Offline
Getting the hang of it

Registered: 2015-10-07
Posts: 77
Loc: Brasil, Joćo pessoa
Hello readall() would serve to grab all text from a file and play directly into the output.

The standard would be this here.
 Code:
$handle = freefilehandle()
$open($handle, "file.txt")
while (@error = 0)
$texto = $texto + readline($handle) + @crlf
loop


I wanted one more option.
 Code:
$handle = freefilehandle()
$open($handle, "file.txt")
$texto  = ReadAll($handle, @crlf)


Edited by AndreLuiz (2017-08-14 05:56 AM)

Top
#212631 - 2017-08-16 10:55 PM Re: ReadAll() [Re: AndreLuiz]
AndreLuiz Offline
Getting the hang of it

Registered: 2015-10-07
Posts: 77
Loc: Brasil, Joćo pessoa
Already solved this, can someone withdraw this topic?
Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 152 anonymous users online.
Newest Members
Jagcats, Dramamu, Tamperold, RrrDdd, Stefan_H
17676 Registered Users

Generated in 0.028 seconds in which 0.011 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org