Difference between revisions of "MC-Basic:FILESIZE$"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
Line 30: Line 30:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=

Revision as of 13:23, 18 March 2014

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

See Also