Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

SDL.RWFromFile

<p>Create a <a href="Sdl-RWOpsObject" class="wiki-page">RWops</a> object from a file.</p>

Function

SYNOPSIS

function SDL.RWFromFile(path, mode)

ARGUMENTS

<ul>
<li>path, the path to the file</li>
	<li>mode, the mode</li>
</ul>

RETURNS

<ol>
<li>the <a href="Sdl-RWOpsObject" class="wiki-page">RWops</a> object or nil</li>
	<li>the error message</li>
</ol>
Clone this wiki locally