Difference between revisions of "MC-Basic:FILESIZE$"
m |
m |
||
Line 35: | Line 35: | ||
? FileSize$(“Task1.prg”) | ? FileSize$(“Task1.prg”) | ||
− | + | or | |
Common shared FName as string = “Task1.prg” | Common shared FName as string = “Task1.prg” |
Revision as of 10:13, 20 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”)