X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=samples%2FSampleInterpreter%2FbbProcessing.bbs;fp=samples%2FSampleInterpreter%2FbbProcessing.bbs;h=f4baaf6bdb8260dfe9c73b7ea603918141493f70;hb=a12deb460d12294cc8f3ef4e489b5b28640d0178;hp=0000000000000000000000000000000000000000;hpb=1e0e4d85b2001be9e92f6e23e30910bf92d5feb3;p=bbtk.git diff --git a/samples/SampleInterpreter/bbProcessing.bbs b/samples/SampleInterpreter/bbProcessing.bbs new file mode 100644 index 0000000..f4baaf6 --- /dev/null +++ b/samples/SampleInterpreter/bbProcessing.bbs @@ -0,0 +1,15 @@ +# Defines the pipeline used by SampleInterpreter +# Here simply adds 1 to a double +load std +define Processing + new Add a + set a.In2 1 + + # create the input : plug it in a.In1 + input In a.In1 "Input number" + # create the output : get it from a.Out + output Out a.Out "Output number" + + # executing the complex box executes a + exec a +endefine