--- /dev/null
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<blackbox name="Mul">
+
+ <author>laurent.guigues@creatis.insa-lyon.fr</author>
+ <description>Multiplies its inputs</description>
+ <category>math</category>
+
+ <input name="In1" type="double" description="First number"/>
+ <input name="In2" type="double" description="Second number"/>
+ <output name="Out" type="double" description="Result"/>
+
+ <process><PRE>
+ bbSetOutputOut( bbGetInputIn1() * bbGetInputIn2() );
+ </PRE></process>
+
+ <constructor><PRE>
+ bbSetInputIn1(0);
+ bbSetInputIn2(0);
+ bbSetOutputOut(0);
+ </PRE></constructor>
+
+</blackbox>
+
--- /dev/null
+load std
+load wx
+define GUIdouble wx
+ kind DEFAULT_GUI
+ new Slider slider
+ set slider.Label true
+# set slider.ReactiveOnTrack true
+ set slider.ChangeResolution true
+ set slider.Max 100
+ new Div div
+ set div.In2 100
+ connect slider.Out div.In1
+ new Mul mul
+ set mul.In2 100
+ connect mul.Out slider.In
+ input In mul.In1 "Initial position"
+ input Label slider.Title "Label"
+ output Out div.Out "Current position"
+ output Widget slider.Widget "Widget"
+ output BoxChange slider.BoxChange "BoxChange"
+endefine