Sha256: 55057b07d758f24e6ac541269dcbe05381ab8f1b05cd5f88a3a451c5484787a8
Contents?: true
Size: 331 Bytes
Versions: 10
Compression:
Stored size: 331 Bytes
Contents
Function calls with either a string literal or a table constructor passed as their only argument do not require parentheses. print "Hello world!" Harder way with a table: local chars = {"G","o","o","d","b","y","e",","," ","W","o","r","l","d","!"} for i = 1, #chars do io.write(chars[i]) end -- or: print(table.concat(chars))
Version data entries
10 entries across 7 versions & 1 rubygems