~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/fr/functions/funcprot.xml

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
 
3
<MAN>
 
4
  <LANGUAGE>eng</LANGUAGE>
 
5
  <TITLE>funcprot</TITLE>
 
6
  <TYPE>Scilab Function</TYPE>
 
7
  <DATE>Jan 1997</DATE>
 
8
  <SHORT_DESCRIPTION name="funcprot"> switch scilab functions protection mode</SHORT_DESCRIPTION>
 
9
  <CALLING_SEQUENCE>
 
10
    <CALLING_SEQUENCE_ITEM>prot=funcprot()  </CALLING_SEQUENCE_ITEM>
 
11
    <CALLING_SEQUENCE_ITEM>funcprot(prot)  </CALLING_SEQUENCE_ITEM>
 
12
  </CALLING_SEQUENCE>
 
13
  <PARAM>
 
14
    <PARAM_INDENT>
 
15
      <PARAM_ITEM>
 
16
        <PARAM_NAME>prot</PARAM_NAME>
 
17
        <PARAM_DESCRIPTION>
 
18
          <SP>: integer with possible values 0,1,2</SP>
 
19
        </PARAM_DESCRIPTION>
 
20
      </PARAM_ITEM>
 
21
    </PARAM_INDENT>
 
22
  </PARAM>
 
23
  <DESCRIPTION>
 
24
    <P>
 
25
    Scilab functions are variable, funcprot allows the user to specify
 
26
    what scilab do when such  variables are redefined.
 
27
  </P>
 
28
    <DESCRIPTION_INDENT>
 
29
      <DESCRIPTION_ITEM label="*">
 
30
        <SP>If prot==0  nothing special is done</SP>
 
31
      </DESCRIPTION_ITEM>
 
32
      <DESCRIPTION_ITEM label="*">
 
33
        <SP>If prot==1  scilab issues a warning message when a function is redefined (default mode)</SP>
 
34
      </DESCRIPTION_ITEM>
 
35
      <DESCRIPTION_ITEM label="*">
 
36
        <SP>If prot==2 scilab issues an error when a function is redefined</SP>
 
37
      </DESCRIPTION_ITEM>
 
38
    </DESCRIPTION_INDENT>
 
39
  </DESCRIPTION>
 
40
  <EXAMPLE>
 
41
<![CDATA[
 
42
funcprot(1)
 
43
deff('[x]=foo(a)','x=a')
 
44
deff('[x]=foo(a)','x=a+1')
 
45
foo=33
 
46
funcprot(0)
 
47
deff('[x]=foo(a)','x=a')
 
48
deff('[x]=foo(a)','x=a+1')
 
49
foo=33
 
50
 ]]>
 
51
  </EXAMPLE>
 
52
</MAN>