~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/core/help/en_US/variables/names.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<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" version="5.0-subset Scilab" xml:lang="en" xml:id="names">
3
 
  <refnamediv>
4
 
    <refname>names</refname>
5
 
    <refpurpose>Scilab names syntax</refpurpose>
6
 
  </refnamediv>
7
 
  <refsection>
8
 
    <title>Description</title><para>
9
 
      Names of variables and functions must begin with a letter or one of
10
 
      the following special characters  '<literal>%</literal>', '<literal>_</literal>', '<literal>#</literal>', '<literal>!</literal>', '<literal>$</literal>', '<literal>?</literal>'.
11
 
    </para>
12
 
    <para>
13
 
      Next characters may be letters or digits or any special character in '<literal>_</literal>', 
14
 
      '<literal>#</literal>', '<literal>!</literal>', '<literal>$</literal>', '<literal>?</literal>'.
15
 
    </para>
16
 
    <para>
17
 
    </para>
18
 
    Upper and lower case letters are different.
19
 
    <para>
20
 
      Names may be as long as you want but only the first 24 characters are
21
 
      taken into account. If you exceed this limit you get a warning. Please note that this limitation will be fixed with the release of Scilab 6.
22
 
    </para>
23
 
  </refsection>
24
 
  <refsection>
25
 
    <title>Examples</title>
26
 
    <programlisting role="example"><![CDATA[ 
 
3
    <refnamediv>
 
4
        <refname>names</refname>
 
5
        <refpurpose>Scilab names syntax</refpurpose>
 
6
    </refnamediv>
 
7
    <refsection>
 
8
        <title>Description</title><para>
 
9
            Names of variables and functions must begin with a letter or one of
 
10
            the following special characters  '<literal>%</literal>', '<literal>_</literal>', '<literal>#</literal>', '<literal>!</literal>', '<literal>$</literal>', '<literal>?</literal>'.
 
11
        </para>
 
12
        <para>
 
13
            Next characters may be letters or digits or any special character in '<literal>_</literal>', 
 
14
            '<literal>#</literal>', '<literal>!</literal>', '<literal>$</literal>', '<literal>?</literal>'.
 
15
        </para>
 
16
        <para>
 
17
        </para>
 
18
        Upper and lower case letters are different.
 
19
        <para>
 
20
            Names may be as long as you want but only the first 24 characters are
 
21
            taken into account. If you exceed this limit you get a warning. Please note that this limitation will be fixed with the release of Scilab 6.
 
22
        </para>
 
23
    </refsection>
 
24
    <refsection>
 
25
        <title>Examples</title>
 
26
        <programlisting role="example"><![CDATA[ 
27
27
//Valid names
28
28
%eps
29
29
A1=123
43
43
disp(Try_to_use_a_too_long_name)
44
44
// Please note that this limitation will be fixed with the release of Scilab 6.
45
45
 ]]></programlisting>
46
 
  </refsection>
 
46
    </refsection>
47
47
</refentry>