MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "ReadFileInt",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "357": {
                "pageid": 357,
                "ns": 0,
                "title": "ReadFileByte",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==Definition==\n<source lang=\"scar\" lines=\"false\">\nfunction ReadFileByte(FileNum: Integer; var b: Byte): Boolean;\n</source>\n\n==Availability==\nSCAR Divi 3.00 > Current\n\n==Description==\nReads a [[byte]] from an open file stream associated with the index '''FileNum''' in the file stream resource manager and returns it in '''b'''. Returns [[false]] if the reading failed or the index '''FileNum''' is invalid. The file stream should have been created with [[OpenFile]].\n\n==Example==\n<source lang=\"scar\">\nvar\n  f: Integer;\n  b: Byte;\n\nbegin\n  f := Rewritefile(LogsPath + 'Test.txt', False);\n  WriteFileByte(f, 127);\n  CloseFile(f);\n\n  f := OpenFile(LogsPath + 'Test.txt', False);\n  ReadFileByte(f, b);\n  WriteLn(b);\n  CloseFile(f);\n\n  DeleteFile(LogsPath + 'Test.txt');\nend.\n</source>\n\nOutput:\n 127\n\n==See Also==\n*[[WriteFileByte]]\n*[[ReadFileString]]\n*[[ReadFileInt]]\n*[[OpenFile]]\n*[[CloseFile]]\n\n[[Category:Functions]]\n[[Category:File Functions]]"
                    }
                ]
            }
        }
    }
}