Changes between Initial Version and Version 1 of Ticket #2483
- Timestamp:
- 2013-11-15T17:56:50Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2483 – Description
initial v1 1 {{{#!mo 1 2 function add 2 input Integer a;3 input Integer b;4 output Integer sum;5 output Integer subtract;6 output Integer multiply;3 input Integer a; 4 input Integer b; 5 output Integer sum; 6 output Integer subtract; 7 output Integer multiply; 7 8 algorithm 8 sum:= a+b;9 if (a>b) then10 subtract:= a-b;11 else12 subtract:= b-a;13 multiply:= a*b;14 end if;9 sum:= a+b; 10 if (a>b) then 11 subtract:= a-b; 12 else 13 subtract:= b-a; 14 multiply:= a*b; 15 end if; 15 16 end add; 16 17 }}} 17 18 if i want to get just the multiplication part of the result then i did 18 19 19 (,,mult) := add (3,4); 20 `(,,mult) := add (3,4);` 20 21 21 22 Also, (add,sub):= add (3,4) works fine