File size: Difference between revisions

Content added Content deleted
mNo edit summary
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 2,383: Line 2,383:


To check the size of a file in the root, just change "input.txt" to "/input.txt" in the following script.
To check the size of a file in the root, just change "input.txt" to "/input.txt" in the following script.
<syntaxhighlight lang="ecmascript">import "io" for File
<syntaxhighlight lang="wren">import "io" for File


var name = "input.txt"
var name = "input.txt"