Modules/FileSystem/file/readBoolean: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 January 2022

19 January 2022

  • curprev 03:3703:37, 19 January 2022Danilo talk contribs 4,765 bytes +4,765 Created page with "__NOTOC__ This function attempts to read a boolean (native type) from a file and return it. The amount of bytes read should be one. ==Syntax== <syntaxhighlight lang="lua"> boolean file:readBoolean () </syntaxhighlight> ==Returns== Returns a boolean if it was successfully read from the file, '''nil''' otherwise. ==Example== <section name="Client" class="client" show="true"> This snippet demonstrates a variable file format that stores player properties depending on whet..."