From WikiChip
Difference between revisions of "mirc/identifiers/$fread"
(Created page with "{{mirc title|$fread Identifier}}'''$fread''' returns the next $crlf delimited line from an open file in file handling. == Synopsis == <pre>$fread(N/name) returns the next li...") |
(No difference)
|
Latest revision as of 08:27, 18 October 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$fread returns the next $crlf delimited line from an open file in file handling.
Synopsis[edit]
$fread(N/name) returns the next line $fread(N/name,M,&binvar) reads M bytes into the binvar
Parameters[edit]
- N - The Nth handle to be used
- name - The handle name to be used
- M - if M is specified then you must specify a binary variable name as the third parameter, it reads M bytes into the binary variable
- &binvar - the name of the binary variable
Properties[edit]
None
Example[edit]
//fopen test $qt($mircini) | echo -a > $fread(test) | fclose test
Compatibility[edit]
Added: mIRC v6.1
Added on: 29 Aug 2003
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.