RosettaCodeData/Task/File-size/Wren/file-size.wren

5 lines
112 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
import "io" for File
var name = "input.txt"
System.print("'%(name)' has a a size of %(File.size(name)) bytes")