Files
BlitzNext/_release/help/commands/2d_commands/FileSize.htm
T

45 lines
1.0 KiB
HTML
Raw Normal View History

2014-12-08 12:43:20 +13:00
<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>FileSize (filename$)</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
filename$ = any valid variable with path/filename
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
Often it will be useful to return the size of a file. File size is important for copying, reading, and other file evolutions.
</td>
</tr>
</table>
<h1><a href=../2d_examples/FileSize.bb>Example</a></h1>
<table>
<tr>
<td>
; Windows 2000/XP users will need to change location of calc.exe
<br />
<br />
filename$="c:\windows\calc.exe"
<br />
<br />
Print "The size of the file is: " + FileSize(filename$)
<br />
<br />
2014-02-26 16:08:39 +13:00
Print "Press any key to quit."
2014-12-08 12:43:20 +13:00
<br />
2014-02-26 16:08:39 +13:00
2014-12-08 12:43:20 +13:00
<br />
2014-02-26 16:08:39 +13:00
WaitKey()