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

« back to all changes in this revision

Viewing changes to man/eng/mtlb/mtlb_strcmp.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>mtlb_strcmp</TITLE>
 
6
  <TYPE>M2SCI function</TYPE>
 
7
  <DATE>April 2004</DATE>
 
8
 
 
9
  <SHORT_DESCRIPTION name="mtlb_strcmp">Matlab strcmp emulation function</SHORT_DESCRIPTION>
 
10
 
 
11
  <DESCRIPTION>
 
12
 
 
13
    <P>There is no Scilab function equivalent for Matlab <VERB>strcmp</VERB>, there is equivalent instructions.</P>
 
14
 
 
15
    <P>
 
16
    The function <VERB>mtlb_strcmp(A,B)</VERB> is used by
 
17
    <VERB>mfile2sci</VERB> to replace <VERB>strcmp(A,B)</VERB> when it was not
 
18
    possible to know what were the inputs while porting Matlab code to Scilab. This function will
 
19
    determine the correct semantic at run time. If you want to have a
 
20
    more efficient code it is possible to replace <VERB>mtlb_strcmp</VERB> calls:
 
21
    </P>
 
22
 
 
23
    <DESCRIPTION_INDENT>
 
24
    <DESCRIPTION_ITEM>
 
25
    <ITEMIZE>
 
26
      <ITEM>
 
27
        <SP>
 
28
        If <VERB>A</VERB> and <VERB>B</VERB> are character strings
 
29
        <VERB>mtlb_strcmp(A,B)</VERB> may be replaced by <VERB>A==B</VERB>
 
30
        </SP>
 
31
      </ITEM>
 
32
 
 
33
      <ITEM>
 
34
        <SP>
 
35
        If <VERB>A</VERB> and/or <VERB>B</VERB> is not a character string
 
36
        <VERB>mtlb_strcmp(A,B)</VERB> may be replaced by <VERB>0</VERB>
 
37
        </SP>
 
38
      </ITEM>
 
39
    </ITEMIZE>
 
40
    </DESCRIPTION_ITEM>
 
41
    </DESCRIPTION_INDENT>
 
42
 
 
43
    <P>Caution: <VERB>mtlb_strcmp</VERB> has not to be used for hand coded functions.</P>
 
44
 
 
45
  </DESCRIPTION>
 
46
 
 
47
  <AUTHORS>
 
48
    <AUTHORS_ITEM>V.C.</AUTHORS_ITEM>
 
49
  </AUTHORS>
 
50
</MAN>