]> Creatis software - bbtk.git/blob - appli/exampleAdd.bbs
#3202 BBTK Feature New Normal - fast algorithm for ImageBoundaries box
[bbtk.git] / appli / exampleAdd.bbs
1 description "std::Add box example. Also shows how to print an output of a box in bbi. "
2 category "example"
3
4 include std
5 new Add a
6 set a.In1 1
7 set a.In2 2
8
9 # In a print command, any string enclosed between dollars 
10 # is interpreted as an output of a box (of the form 'box.output').
11 # Before printing, bbi substitutes it by the value of the output.
12 # There must be an adaptor to string for that type of output.
13 print $a.Out$