Modules/FileSystem/file/readInt: 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:3303:33, 19 January 2022Danilo talk contribs 1,944 bytes +1,944 Created page with "__NOTOC__ This function attempts to read an integer (native type) from a file and return it. The amount of bytes read should be four. ==Syntax== <syntaxhighlight lang="lua"> int file:readInt () </syntaxhighlight> ==Returns== Returns an integer if it was successfully read from the file, '''false''' otherwise. ==Example== <section name="Client" class="client" show="true"> This snippet demonstrates an encrypted Lua source code format. <syntaxhighlight lang="lua"> -- Have..."