winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/io.readfile.md

17 lines
257 B
Markdown
Raw Permalink Normal View History

2024-09-24 08:54:57 -04:00
read a file's contents as a string.
```lua
io.readfile(filename)
```
get the individual file lines using [[string.explode|string.explode]].
### Parameters ###
* `filename` - a path to a filename.
### Availability ###
Premake 5.0.0 alpha 12 or later.