]> Creatis software - bbtk.git/blob - samples/SampleInterpreter/bbProcessing.bbs
f4baaf6bdb8260dfe9c73b7ea603918141493f70
[bbtk.git] / samples / SampleInterpreter / bbProcessing.bbs
1 # Defines the pipeline used by SampleInterpreter
2 # Here simply adds 1 to a double 
3 load std
4 define Processing
5   new Add a
6   set a.In2 1
7
8   # create the input : plug it in a.In1
9   input In a.In1 "Input number"
10   # create the output : get it from a.Out
11   output Out a.Out "Output number"
12
13   # executing the complex box executes a
14   exec a
15 endefine