Change-Id: Iee8d666f68aed68eb61f266c06a25b701b4d27d7
<literal>resume</literal> is equivalent to <literal>return</literal>.
</para>
<para>
- Note: the usage of this feature can complexify the code. Instead, the syntax <code>function b = foo()</code> is recommended.
+ <note>
+ Note: the usage of this feature can complexify the code. Instead, the syntax <code>function b = foo()</code> is recommended.
+ </note>
</para>
</refsection>
<refsection>
<literal>resume</literal> est équivalent à <literal>return</literal>.
</para>
<para>
- Note: l'utilisation de cette fonctionnalité peut complexifier le code. A la place, la syntaxe <code>function b = foo()</code> est recommendée.
+ <note>
+ Note: l'utilisation de cette fonctionnalité peut complexifier le code. A la place, la syntaxe <code>function b = foo()</code> est recommendée.
+ </note>
</para>
</refsection>
<para>
Инструкция <literal>resume</literal> эквивалентна инструкции <literal>return</literal>.
</para>
+ <para>
+ <note>
+ Примечание: Использование этой возможности может усложнить код. Вместо этого рекомендуется синтаксис <code>function b = foo()</code>.
+ </note>
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+function foo(a)
+ a=a+1
+ b=resume(a)
+ c=52
+endfunction
+
+foo(42);
+assert_checkequal(b,43);
+// c не существует
+
+]]></programlisting>
</refsection>
<refsection role="see also">
<title>Смотрите также</title>