Documentazione mIRC

$fread

$fread

Indice

mIRC

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.

Contents

Synopsis

$fread(N/name) returns the next line

$fread(N/name,M,&binvar) reads M bytes into the binvar

Parameters

  • 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

None

Example

//fopen test $qt($mircini) | echo -a > $fread(test) | fclose test

Compatibility

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.

See Also

/fclose /fseek /flist /fwrite $fopen $feof $fgetc $ferr