Jump to content
Sign in to follow this  
layer

FileRead

Recommended Posts

yello everyone, when using FileRead (filehandle, count) is there a default for the count to just read the whole file?? sorry i just woke up if this is an obvious question... ive also used FileReadLine (blablabla) but that only returns the first line even in a loop :D:idiot:


FootbaG

Share this post


Link to post
Share on other sites

yello everyone, when using FileRead (filehandle, count) is there a default for the count to just read the whole file?? sorry i just woke up if this is an obvious question... ive also used FileReadLine (blablabla) but that only returns the first line even in a loop :D  :idiot:

<{POST_SNAPBACK}>

This reads the total file into the variable $Totalfile:

$Filename= "test.txt"
$TotalFile = Fileread($Filename,FileGetSize($Filename))

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...