load_file
load_file(filepath, [timeout])
Load a file as a raw string
Syntaxe
var txt = load_file("notes.txt");
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
filepath | yes | - | Path/URL to raw file (txt...) |
timeout | - | - | Network timeout in ms (optional) |
load_file(filepath, [timeout])
Load a file as a raw string
var txt = load_file("notes.txt");
| Name | Required | Default | Description |
|---|---|---|---|
filepath | yes | - | Path/URL to raw file (txt...) |
timeout | - | - | Network timeout in ms (optional) |