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

From SoftMC-Wiki
Jump to: navigation, search
m
m (Text replace - "Version 4.5.3 and higher" to "Since Version 4.5.3")
Line 7: Line 7:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Version 4.5.3 and higher
+
Since Version 4.5.3
  
 
|DESCRIPTION=
 
|DESCRIPTION=

Revision as of 14:16, 20 March 2014

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