fsize

From DavinciWiki
Revision as of 11:17, 6 July 2009 by Cedwards (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


64-bit SafeYes

Description

Return file size

Arguments and Return Values

Arguments: a string containing the size of the file

Return Value: integer value of size

Usage

Syntax: fsize(filename)

The fsize() function determines the size of the specified file, and returns that number as an integer. If the file does not exist, fsize() returns a -1.

Examples

dv> fsize("clndcs1.png")
455545

dv> fsize("nonexistentfile.txt")
-1

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools