Page 43 - Touchcode_C8_Flipbook
P. 43

Step 6:  Click on ‘Advanced’, select ‘Functions’ and then click on ‘Make a Function…’

                  Step 7:  The following screen appears, name the function as ‘VolumeofCuboid’, add three
                            ‘Number’ parameter and name the parameters as ‘L’, ‘B’, ‘H’. Click on ‘Done’.



















                  Step 8:  Function ‘VoulmeofCuboid’ will appear on workspace as:












                  Step 9:  From ‘Variables’ select ‘Set Volume to 0’, and drop it to function ‘VolumeofCuboid’.












                  Step 10: From ‘Math’ select two ‘Multiplication’ operators.

                  Step 11: Combine the ‘Multiplication’ operator as shown:


                                                                                           Functions in Depth    41
   38   39   40   41   42   43   44   45   46   47   48