1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
<?xml version="1.0" encoding="UTF-8"?>
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="fromjava">
<refnamediv>
<refname>fromjava</refname>
<refpurpose>Checks if current Scilab is called from javasci</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>r = fromjava()</synopsis>
</refsynopsisdiv>
<refsection>
<title>Arguments</title>
<variablelist>
<varlistentry>
<term>r</term>
<listitem>
<para>a boolean</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>
Returns <literal>%t</literal> if Scilab is called from javasci or <literal>%f</literal> if not.
</para>
</refsection>
<refsection>
<title>Example</title>
<programlisting role="example"><![CDATA[
fromjava();
]]></programlisting>
</refsection>
<refsection role="see also">
<title>See Also</title>
<simplelist type="inline">
<member>
<link linkend="call_scilab">Call_Scilab</link>
</member>
<member>
<link linkend="api_scilab">api Scilab</link>
</member>
<member>
<link linkend="fromc">fromc</link>
</member>
</simplelist>
</refsection>
</refentry>
|