Changeset 2549 for trunk/examples


Ignore:
Timestamp:
Sep 21, 2011 2:32:07 PM (13 years ago)
Author:
gah
Message:
 
Location:
trunk/examples
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/app-fermi/octave/Makefile.in

    r2311 r2549  
    1414INSTALL         = @INSTALL@
    1515MKDIR_P         = @MKDIR_P@
     16
     17MKOCTFILE2      = @MKOCTFILE2@
    1618MKOCTFILE3      = @MKOCTFILE3@
    17 MKOCTFILE2      = @MKOCTFILE2@
     19SUBDIRS         =
    1820
    19 SUBDIRS         =
     21.PHONY: octave2 octave3
     22
     23ifneq ($(MKOCTFILE2),)
     24    SUBDIRS += octave2
     25endif
    2026ifneq ($(MKOCTFILE3),)
    21   SUBDIRS += octave3
    22 endif
    23 ifneq ($(MKOCTFILE2),)
    24   SUBDIRS += octave2
     27    SUBDIRS += octave3
    2528endif
    2629
  • trunk/examples/objects/xmlparser/xmlparser.cc

    r2289 r2549  
    117117    }
    118118
    119     if (xmltext) {
    120         delete[] xmltext;
    121         xmltext = NULL;
    122     }
    123     if (expected) {
    124         delete[] expected;
     119    if (xmltext != NULL) {
     120        delete [] xmltext;
     121        xmltext = NULL;
     122    }
     123    if (expected != NULL) {
     124        delete [] expected;
    125125        expected = NULL;
    126126    }
  • trunk/examples/zoo/histogram/tool.xml

    r2324 r2549  
    2424  </integer>
    2525</input>
     26<output>
     27<histogram id="example">
     28    <about>
     29      <label>Single dataset</label>
     30      <description>This is an example of a single histogram.</description>
     31    </about>
     32    <xaxis>
     33      <label>Time</label>
     34      <description>Time during the experiment.</description>
     35      <units>s</units>
     36      <marker>
     37        <at>5</at>
     38        <label>Look here</label>
     39        <style>-foreground red -linewidth 2</style>
     40       </marker>
     41    </xaxis>
     42    <yaxis>
     43      <label>Voltage v(11)</label>
     44      <description>Output from the amplifier.</description>
     45      <units>V</units>
     46    </yaxis>
     47    <component>
     48      <xy>
     49       1 0.99
     50       2 0.34
     51       4 0.57
     52       6 0.22
     53       7 0.11
     54       </xy>
     55     </component>
     56   </histogram>
     57</output>
    2658</run>
Note: See TracChangeset for help on using the changeset viewer.