<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css">
<title>
Gambas Documentation - Stat.Type
 (gb)</title>
</head>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../../help+en"><img class="flag" alt="Home" border="0" src="../../../../img/lang/en.png" align="center"></a>&nbsp;
<a href="../stat+en">Up</a>&nbsp;
<a href="time+en">Previous</a>&nbsp;
<a href="user+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
Stat.Type
 (gb)</h1>
<div class="black"><font size="-2"><b>Syntax</b></font></div>
<pre class="syntax"><font color="blue">PROPERTY READ</font> <b>Type</b> <font color="blue">AS</font> <font color="#0080FF">Integer</font></pre>
Returns the type of the file.
<p>
It can be one of the following constants:
<p>
<table class="table" border="0" bordercolor="#000000" cellpadding="4" cellspacing="0">
<tr class="dark"><td valign="top">
<a href="../gb+en">gb</a>.<a href="../gb/file+en">File</a>
</td><td valign="top">
Regular file
</td></tr>
<tr><td valign="top">
<a href="../gb+en">gb</a>.<a href="../gb/directory+en">Directory</a>
</td><td valign="top">
Directory
</td></tr>
<tr class="dark"><td valign="top">
<a href="../gb+en">gb</a>.<a href="../gb/device+en">Device</a>
</td><td valign="top">
Special file for a device
</td></tr>
<tr><td valign="top">
<a href="../gb+en">gb</a>.<a href="../gb/pipe+en">Pipe</a>
</td><td valign="top">
Named pipe
</td></tr>
<tr class="dark"><td valign="top">
<a href="../gb+en">gb</a>.<a href="../gb/socket+en">Socket</a>
</td><td valign="top">
Special file for a socket
</td></tr>
<tr><td valign="top">
<a href="../gb+en">gb</a>.<a href="../gb/link+en">Link</a>
</td><td valign="top">
Symbolic link
</td></tr>
</table>

</div>
</body>
</html>

