2025-01-15 19:42:35 +01:00

58 lines
27 KiB
HTML

<!DOCTYPE html>
<html lang="en"><!-- use theme color or fallback -->
<!--use textcolor from settings, otherwise create a contrasting color to theme color-->
<head><meta charset="utf-8"/><link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet"/><link href="./bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet"/><link href="./bootstrap/css/bootstrap-select.min.css" rel="stylesheet"/><link href="http://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,400italic" rel="stylesheet" type="text/css"/><link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600,600italic,400" rel="stylesheet" type="text/css"/><link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet" type="text/css"/><script src="./jquery-1.9.1.min.js"></script><script src="./bootstrap/js/bootstrap.min.js"></script><script src="./bootstrap/js/bootstrap-select.min.js"></script><link href="./styles.css" rel="stylesheet"/><link href="./haxe-nav.css" rel="stylesheet"/><script type="text/javascript">var dox = {rootPath: "./",platforms: ["Neko","Android","Flash","iOS","macOS","Linux","HTML5","Windows"]};</script><script type="text/javascript" src="./nav.js"></script><script type="text/javascript" src="./index.js"></script><link rel="icon" href="./favicon.ico" type="image/x-icon"></link><title>Sys - API Reference</title><meta name="description" content="This class gives you access to many base functionalities of system platforms. Looks in &lt;code&gt;sys&lt;/code&gt; sub packages for more system APIs."/></head><body><style>
a, code .type {
color: #24afc4;
}
.navbar .brand {
display: inline-block;
float: none;
text-shadow: 0 0 0 transparent;
}
.nav-list>.active>a.treeLink, .nav-list>.active>a.treeLink:hover, .nav-list>.active>a.treeLink:focus {
background: #24afc4;
color: #ffffff;
text-shadow: 0 0 0 transparent;
}
.navbar .container {
width: 940px ;
}
@media (max-width: 767px) {
.navbar .container {
width: auto;
}
}
@media (max-width: 979px) and (min-width: 768px) {
.navbar .container {
width: 724px;
}
}
@media (min-width: 1200px) {
.navbar .container {
width: 1170px;
}
}
.navbar .container img {
margin: 5px 0 0 4px;
}
</style><nav class="nav"><div class="navbar"><div class="navbar-inner" style="background:#FAFAFA; border-bottom:1px solid rgba(0,0,0,.09)"><div class="container"><a class="brand" href="http://www.openfl.org"><img alt="" src="http://www.openfl.org/images/logo.png"/></a><a class="brand" style="color:#777777" href="./">API Reference</a></div></div></div></nav><div class="container main-content"><div class="row-fluid"><div class="span3"><div class="well sidebar-nav"><form class="form-search" id="searchForm"><div class="input-prepend input-block-level"><span class="add-on"><i class="icon-search"></i></span><input id="search" type="text" placeholder="Search" autocomplete="off"/></div></form><div class="dropdown"><select id="select-platform" class="selectpicker" title="Filter by platform" data-width="100%"><option value="all" selected="true">All Platforms</option><option>Neko</option><option>Android</option><option>Flash</option><option>iOS</option><option>macOS</option><option>Linux</option><option>HTML5</option><option>Windows</option></select></div></div><div class="well sidebar-nav"><div id="nav"></div></div></div><div class="span9"><div class="page-header"><h1><small>class</small> Sys</h1><h4><small><a href="./">no package</a></small></h4> <p class="availability"><hr/><em>Available on all platforms</em></p></div><div class="body"><div class="doc doc-main"><div class="indent"><p>This class gives you access to many base functionalities of system platforms. Looks in <code>sys</code> sub packages for more system APIs.</p></div></div><h3 class="section">Static variables</h3><div class="fields"><div class="field "><a name="args"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#args"><span class="identifier">args</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="An Array is a storage for values." href="./Array.html">Array</a>&lt;<a class="type" title="The basic String class." href="./String.html">String</a>&gt;</code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns all the arguments that were passed by the command line.</p></div></div><div class="field "><a name="command"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#command"><span class="identifier">command</span></a>:<a class="type" title="The basic String class." href="./String.html">String</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="An Array is a storage for values." href="./Array.html">Array</a>&lt;<a class="type" title="The basic String class." href="./String.html">String</a>&gt;&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Int type." href="./Int.html">Int</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Run the given command. The command output will be printed on the same output as the current process.
The current process will block until the command terminates and it will return the command result (0 if there was no error).</p>
<p>Command arguments can be passed in two ways: 1. using <code>args</code>, 2. appending to <code>cmd</code> and leaving <code>args</code> as <code>null</code>.</p><ol><li>
<p>When using <code>args</code> to pass command arguments, each argument will be automatically quoted, and shell meta-characters will be escaped if needed.
<code>cmd</code> should be an executable name that can be located in the <code>PATH</code> environment variable, or a path to an executable.</p></li><li>
<p>When <code>args</code> is not given or is <code>null</code>, command arguments can be appended to <code>cmd</code>. No automatic quoting/escaping will be performed. <code>cmd</code> should be formatted exactly as it would be when typed at the command line.
It can run executables, as well as shell commands that are not executables (e.g. on Windows: <code>dir</code>, <code>cd</code>, <code>echo</code> etc).</p></li></ol>
<p>Read the <code><a href="./sys/io/Process.html">sys.io.Process</a></code> api for a more complete way to start background processes.</p></div></div><div class="field "><a name="cpuTime"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#cpuTime"><span class="identifier">cpuTime</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="./Float.html">Float</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Gives the most precise timestamp value (in seconds) but only account for the actual time spent running on the CPU for the current thread/process.</p></div></div><div class="field "><a name="environment"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#environment"><span class="identifier">environment</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="Map allows key to value mapping for arbitrary value types, and many key types." href="./Map.html">Map</a>&lt;<a class="type" title="The basic String class." href="./String.html">String</a>, <a class="type" title="The basic String class." href="./String.html">String</a>&gt;</code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns all environment variables.</p></div></div><div class="field "><a name="executablePath"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#executablePath"><span class="identifier">executablePath</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The basic String class." href="./String.html">String</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns the path to the current executable that we are running.</p></div></div><div class="field "><a name="exit"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#exit"><span class="identifier">exit</span></a>:<a class="type" title="The standard Int type." href="./Int.html">Int</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Exit the current process with the given error code.</p></div></div><div class="field "><a name="getChar"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#getChar"><span class="identifier">getChar</span></a>:<a class="type" title="The standard Boolean type, which can either be true or false." href="./Bool.html">Bool</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Int type." href="./Int.html">Int</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Read a single input character from the standard input (without blocking) and returns it. Setting <code>echo</code> to true will also display it on the output.</p></div></div><div class="field "><a name="getCwd"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#getCwd"><span class="identifier">getCwd</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The basic String class." href="./String.html">String</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Get the current working directory (usually the one in which the program was started)</p></div></div><div class="field "><a name="getEnv"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#getEnv"><span class="identifier">getEnv</span></a>:<a class="type" title="The basic String class." href="./String.html">String</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The basic String class." href="./String.html">String</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns the value of the given environment variable.</p></div></div><div class="field "><a name="print"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#print"><span class="identifier">print</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="./Dynamic.html">Dynamic</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Print any value on the standard output.</p></div></div><div class="field "><a name="println"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#println"><span class="identifier">println</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="./Dynamic.html">Dynamic</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Print any value on the standard output, followed by a newline.</p></div></div><div class="field "><a name="programPath"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#programPath"><span class="identifier">programPath</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The basic String class." href="./String.html">String</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns the absolute path to the current program file that we are running.
Concretely, for an executable binary, it returns the path to the binary.
For a script (e.g. a PHP file), it returns the path to the script.</p></div></div><div class="field "><a name="putEnv"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#putEnv"><span class="identifier">putEnv</span></a>:<a class="type" title="The basic String class." href="./String.html">String</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The basic String class." href="./String.html">String</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Set the value of the given environment variable.</p></div></div><div class="field "><a name="setCwd"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#setCwd"><span class="identifier">setCwd</span></a>:<a class="type" title="The basic String class." href="./String.html">String</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Change the current working directory.</p></div></div><div class="field "><a name="setTimeLocale"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#setTimeLocale"><span class="identifier">setTimeLocale</span></a>:<a class="type" title="The basic String class." href="./String.html">String</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Boolean type, which can either be true or false." href="./Bool.html">Bool</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Change the current time locale, which will affect <code>DateTools.format</code> date formating.
Returns true if the locale was successfully changed</p></div></div><div class="field "><a name="sleep"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#sleep"><span class="identifier">sleep</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="./Float.html">Float</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Suspend the current execution for the given time (in seconds).</p></div></div><div class="field "><a name="stderr"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#stderr"><span class="identifier">stderr</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="An Output is an abstract write." href="./haxe/io/Output.html">Output</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns the process standard error on which you can write.</p></div></div><div class="field "><a name="stdin"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#stdin"><span class="identifier">stdin</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="An Input is an abstract reader." href="./haxe/io/Input.html">Input</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns the process standard input, from which you can read what user enters. Usually it will block until the user send a full input line. See <code>getChar</code> for an alternative.</p></div></div><div class="field "><a name="stdout"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#stdout"><span class="identifier">stdout</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="An Output is an abstract write." href="./haxe/io/Output.html">Output</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns the process standard output on which you can write.</p></div></div><div class="field "><a name="systemName"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#systemName"><span class="identifier">systemName</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The basic String class." href="./String.html">String</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Returns the name of the system you are running on. For instance :
"Windows", "Linux", "BSD" and "Mac" depending on your desktop OS.</p></div></div><div class="field "><a name="time"></a><h3><p><code><span class="label">static</span><a href="./Sys.html#time"><span class="identifier">time</span></a>:<a class="type" title="The standard Void type." href="./Void.html">Void</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="./Float.html">Float</a></code></p></h3><p class="availability"><em>Available on Flash, HTML5</em></p><div class="doc"><p>Gives the most precise timestamp value (in seconds).</p></div></div></div><h3 class="section">Static methods</h3><div class="fields"><div class="field "><a name="args"></a><h3><p><code><span class="label">static</span><a href="#args"><span class="identifier">args</span></a> ():<a class="type" title="An Array is a storage for values." href="./Array.html">Array</a>&lt;<a class="type" title="The basic String class." href="./String.html">String</a>&gt;</code></p></h3><p class="availability"><em>Available on Neko, Android, iOS, macOS, Linux, Windows</em></p><div class="doc"><p>Returns all the arguments that were passed by the command line.</p></div></div><div class="field "><a name="command"></a><h3><p><code><span class="label">static</span><a href="#command"><span class="identifier">command</span></a> (<span style="white-space:nowrap">cmd:<a class="type" title="The basic String class." href="./String.html">String</a>,</span> <span style="white-space:nowrap">?args:<a class="type" title="An Array is a storage for values." href="./Array.html">Array</a>&lt;<a class="type" title="The basic String class." href="./String.html">String</a>&gt;</span>):<a class="type" title="The standard Int type." href="./Int.html">Int</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Run the given command. The command output will be printed on the same output as the current process.
The current process will block until the command terminates and it will return the command result (0 if there was no error).</p>
<p>Command arguments can be passed in two ways: 1. using <code>args</code>, 2. appending to <code>cmd</code> and leaving <code>args</code> as <code>null</code>.</p><ol><li>
<p>When using <code>args</code> to pass command arguments, each argument will be automatically quoted, and shell meta-characters will be escaped if needed.
<code>cmd</code> should be an executable name that can be located in the <code>PATH</code> environment variable, or a path to an executable.</p></li><li>
<p>When <code>args</code> is not given or is <code>null</code>, command arguments can be appended to <code>cmd</code>. No automatic quoting/escaping will be performed. <code>cmd</code> should be formatted exactly as it would be when typed at the command line.
It can run executables, as well as shell commands that are not executables (e.g. on Windows: <code>dir</code>, <code>cd</code>, <code>echo</code> etc).</p></li></ol>
<p>Read the <code><a href="./sys/io/Process.html">sys.io.Process</a></code> api for a more complete way to start background processes.</p></div></div><div class="field "><a name="environment"></a><h3><p><code><span class="label">static</span><a href="#environment"><span class="identifier">environment</span></a> ():<a class="type" title="Map allows key to value mapping for arbitrary value types, and many key types." href="./Map.html">Map</a>&lt;<a class="type" title="The basic String class." href="./String.html">String</a>, <a class="type" title="The basic String class." href="./String.html">String</a>&gt;</code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Returns all environment variables.</p></div></div><div class="field "><a name="exit"></a><h3><p><code><span class="label">static</span><a href="#exit"><span class="identifier">exit</span></a> (<span style="white-space:nowrap">code:<a class="type" title="The standard Int type." href="./Int.html">Int</a></span>):<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Neko, Android, iOS, macOS, Linux, Windows</em></p><div class="doc"><p>Exit the current process with the given error code.</p></div></div><div class="field "><a name="getChar"></a><h3><p><code><span class="label">static</span><a href="#getChar"><span class="identifier">getChar</span></a> (<span style="white-space:nowrap">echo:<a class="type" title="The standard Boolean type, which can either be true or false." href="./Bool.html">Bool</a></span>):<a class="type" title="The standard Int type." href="./Int.html">Int</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Read a single input character from the standard input (without blocking) and returns it. Setting <code>echo</code> to true will also display it on the output.</p></div></div><div class="field "><a name="getCwd"></a><h3><p><code><span class="label">static</span><a href="#getCwd"><span class="identifier">getCwd</span></a> ():<a class="type" title="The basic String class." href="./String.html">String</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Get the current working directory (usually the one in which the program was started)</p></div></div><div class="field "><a name="getEnv"></a><h3><p><code><span class="label">static</span><a href="#getEnv"><span class="identifier">getEnv</span></a> (<span style="white-space:nowrap">s:<a class="type" title="The basic String class." href="./String.html">String</a></span>):<a class="type" title="The basic String class." href="./String.html">String</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Returns the value of the given environment variable.</p></div></div><div class="field "><a name="print"></a><h3><p><code><span class="label">static</span><a href="#print"><span class="identifier">print</span></a> (<span style="white-space:nowrap">v:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="./Dynamic.html">Dynamic</a></span>):<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Neko, Android, iOS, macOS, Linux, Windows</em></p><div class="doc"><p>Print any value on the standard output.</p></div></div><div class="field "><a name="println"></a><h3><p><code><span class="label">static</span><a href="#println"><span class="identifier">println</span></a> (<span style="white-space:nowrap">v:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="./Dynamic.html">Dynamic</a></span>):<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Neko, Android, iOS, macOS, Linux, Windows</em></p><div class="doc"><p>Print any value on the standard output, followed by a newline.</p></div></div><div class="field "><a name="putEnv"></a><h3><p><code><span class="label">static</span><a href="#putEnv"><span class="identifier">putEnv</span></a> (<span style="white-space:nowrap">s:<a class="type" title="The basic String class." href="./String.html">String</a>,</span> <span style="white-space:nowrap">v:<a class="type" title="The basic String class." href="./String.html">String</a></span>):<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Set the value of the given environment variable.</p></div></div><div class="field "><a name="setCwd"></a><h3><p><code><span class="label">static</span><a href="#setCwd"><span class="identifier">setCwd</span></a> (<span style="white-space:nowrap">s:<a class="type" title="The basic String class." href="./String.html">String</a></span>):<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Change the current working directory.</p></div></div><div class="field "><a name="sleep"></a><h3><p><code><span class="label">static</span><a href="#sleep"><span class="identifier">sleep</span></a> (<span style="white-space:nowrap">seconds:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="./Float.html">Float</a></span>):<a class="type" title="The standard Void type." href="./Void.html">Void</a></code></p></h3><p class="availability"><em>Available on Neko, Android, iOS, macOS, Linux, Windows</em></p><div class="doc"><p>Suspend the current execution for the given time (in seconds).</p></div></div><div class="field "><a name="stderr"></a><h3><p><code><span class="label">static</span><a href="#stderr"><span class="identifier">stderr</span></a> ():<a class="type" title="An Output is an abstract write." href="./haxe/io/Output.html">Output</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Returns the process standard error on which you can write.</p></div></div><div class="field "><a name="stdin"></a><h3><p><code><span class="label">static</span><a href="#stdin"><span class="identifier">stdin</span></a> ():<a class="type" title="An Input is an abstract reader." href="./haxe/io/Input.html">Input</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Returns the process standard input, from which you can read what user enters. Usually it will block until the user send a full input line. See <code>getChar</code> for an alternative.</p></div></div><div class="field "><a name="systemName"></a><h3><p><code><span class="label">static</span><a href="#systemName"><span class="identifier">systemName</span></a> ():<a class="type" title="The basic String class." href="./String.html">String</a></code></p></h3><p class="availability"><em>Available on Neko, macOS, Linux, Windows</em></p><div class="doc"><p>Returns the name of the system you are running on. For instance :
"Windows", "Linux", "BSD" and "Mac" depending on your desktop OS.</p></div></div></div></div></div></div></div><footer class="section site-footer" style="background:#FAFAFA"><div class="container"><div class="copyright"><p style="color:#777777">&copy; 2017 &nbsp;<a style="color:#777777" href="http://www.openfl.org">http://www.openfl.org</a></p></div></div></footer><script src=".//highlighter.js"></script><link href="./highlighter.css" rel="stylesheet"/></body></html>