MC-Basic:FILESIZE$

From SoftMC-Wiki
Revision as of 16:00, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ? FileSize$ (''<file_name_string>'') |AVAILABILITY= Version 4.5.3 and higher |DESCRIPTION= Returns the size of a file in bytes. |TYPE= ''<fi…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the size of a file in bytes.

Syntax

? FileSize$ (<file_name_string>)

Availability

Version 4.5.3 and higher

Type

<file_name_string>: String

<return value>: Long

Range

1 to MaxLong

Scope

Configuration, Task orTerminal

Limitations

Read-Only

Examples

? FileSize$(“Task1.prg”)

Or

Common shared FName as string = “Task1.prg”

? FileSize$(“Task1.prg”)