Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
F
 fabs
 fclose
 Features
 feof
 ferror
 fflush
 File and Buffer Manipulation
 File Extension Macros
 File Inclusion
 File Modes
 File Primitives
 file_canon
 file_glob
 file_match
 file_pattern
 filename_match
 filename_realpath
 finally
 find_file
 find_file2
 find_line_flags
 find_macro
 find_marker
 fioctl
 first_time
 firstof
 flex
 float
 Float Types
 Floating Point Literals
 flock
 floor
 fmktemp
 fmod
 fopen
 for
 for statement
 foreach
 format
 fread
 frexp
 fseek
 fstat
 fstype
 ftell
 ftest
 ftruncate
 Function Calls
 Function Declarations
 Function Prototypes
 Function Reference
 Functions
 fwrite
float fabs(float x)
Floating-point absolute value.
int fclose(int handle)
Close a stream.
There are numerous additional features available, many are directly available via the Feature Menus Alt-F and/or general menu, these include.
int feof(int handle)
Test end-of-file indicator on a stream.
int ferror(int handle,
 [int clearerr])
Test error indicator on a stream.
int fflush(int handle,
 [int sync])
Flush a stream.
Files are always accessed by loading them into a buffer.
File extension callbacks are executed whenever GriefEdit edits a file via the edit_file primitive.
Traditional Unix file mode consist of a number of components including type, permissions including special bits.
string file_canon(string filepath)
Canonicalize a path.
list file_glob(string files)
Return names of files that match patterns.
int file_match(pattern,
file,
[flags])
File match utility.
int file_pattern(string filespec)
Directory file pattern.
int filename_match(string file,
declare pattern)
Perform file pattern matching.
string filename_realpath(string pathname)
Return a resolved pathname.
finally statement;
Finally statement.
int find_file([string &filename],
[int &size],
 [int &mtime],
[int &ctime],
[int &mode])
Read next directory entry.
int find_file2(string filename,
 [int &size],
  [int &mtime],
 [int &ctime],
 [int &atime],
 [int &mode],
  [int &uid],
 [string &uid2name],
  [int &gid],
 [string &gid2name],
  [int &nlink],
 [int &inode])
Extended read next directory entry.
int find_line_flags( [int bufnum],
 [int lineno],
 int mode,
int and_mask,
 [int or_value],
 [int value])
Locate next line with specific flags.
string find_macro(string filename)
Determine path of a macro object.
int find_marker([int marker = L_MARKED])
Locate next marker.
int fioctl(int handle,
 ..)
File miscellaneous control.
int first_time()
Determine a macros initialisation status.
int firstof(string str,
string chars,
 [int &result])
Leftmost character search.
Version 2.5.10 released 2002-7-24
float sym1, sym2 ...;
Declare a float symbol.
Floating point number, which internal is represented using a double-precision float.
A floating-point number is a number which may contain a decimal point and digits following the decimal point.
int flock(int handle,
 ..)
File lock operations.
float floor(float x)
Round down to integral value.
int fmktemp(string template);
Make a unique filename.
float fmod(float x,
float y)
Floating-point remainder.
int fopen(string path,
int|string flags,
  [int mode = 0644],
 [int bufsiz])
Open a stream.
for ([initialise];
[condition];
[increment]) statements;
for statement.
for iteration clause.
void foreach(<body>,
<expr>,
<key>,
<value>,
<index>,
<increment>)
Container iterator.
string format(string format,
 ...)
Formatted printing.
int fread(int handle,
string buffer,
  [int bufsiz = BUFSIZ],
 [int null = ' '])
Read from a stream.
float frexp(float num,
int &exp)
Extract mantissa and exponent.
int fseek(int handle,
int offset,
int whence)
Reposition a file-position indicator in a stream.
int fstat(int handle,
 [int size],
 [int mtime],
 [int ctime],
  [int atime],
 [int mode],
 [int uid],
 [string uid2name],
  [int gid],
 [string gid2name],
 [int nlink])
Stream status information.
int fstype([string path])
File system type.
int ftell(int handle)
Report the file-position indicator of a stream.
int ftest(int|string condition,
string path)
Test file type.
int ftruncate(int handle,
 [int size])
Truncate the specified file.
Function calls executed by the following operators
A function is a group of statements that together perform a task.
Function prototypes provide the compiler with type information about a function without providing any code.
Builtin constant and function reference.
int fwrite(int handle,
string buffer,
 [int length])
Write to a stream.