dofile
Compiles and executes a workspace Luau file.
Forwards all values returned by the chunk.
dofile(path: string): ...anyParameters
| Parameter | Type | Description |
|---|---|---|
path | string | Path relative to the Acedia workspace. |
Errors: A missing file or compilation failure raises the loadfile error; an error raised by the chunk is raised again with the chunk's own message.
Aliases: runfile.
