NAME
	read_file - read lines from a file, there is a maximum limit

SYNOPSIS
	string read_file(string filename, void|int startlin, void|int numlines)

DESCRIPTION
	Gives the contents of the file 'filename'. If the optional arguments
	'startlin' and 'num' is given then the function gives the textlines
	(separated by newlines), from the line 'startlin' to the line 
	'startlin'  + 'numlines'.

NOTA BENE
	There is a maximum limit to the number of bytes that can be read. This
	limit is defined when the gamedriver is compiled and is normally
	50Kbytes.

SEE ALSO
	write_file, read_bytes, write_bytes

Help topics available:
_acl_debug _acl_get _acl_str2num _acl_num2str _file_stat
cat ed file_size get_dir log_file
mkdir read_bytes read_file rm rmdir
tail write_bytes write_file

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 107 since November 2019.
This file was last modified: June 2000.