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

From SoftMC-Wiki
Jump to: navigation, search
(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…')
 
 
(8 intermediate revisions by 4 users not shown)
Line 7: Line 7:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Version 4.5.3 and higher
+
Since Version 4.5.3
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Line 13: Line 13:
  
 
|TYPE=
 
|TYPE=
''<file_name_string>'': String
+
<''file_name_string''>: String
  
''<return value>'': Long
+
<''return value''>: Long
  
 
|RANGE=
 
|RANGE=
Line 30: Line 30:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=
 
? FileSize$(“Task1.prg”)
 
? FileSize$(“Task1.prg”)
  
Or
+
or
  
 
Common shared FName as string = “Task1.prg”
 
Common shared FName as string = “Task1.prg”
Line 43: Line 43:
 
|SEE ALSO=
 
|SEE ALSO=
  
 
+
[[Category:MC-Basic:File Management|FILESIZE$]]
 
}}
 
}}

Latest revision as of 09:16, 22 May 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