MC-Basic:FILESIZE$

From SoftMC-Wiki
Revision as of 09:16, 22 May 2014 by Miborich (talk | contribs)
(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

Since Version 4.5.3

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”)

See Also