Help for this page

Select Code to Download


  1. or download this
    sub myfunction_long
    {
    ...
    print myfunction_long(1, 2);   # prints 3
    print myfunction_medium(1, 2); # prints 3
    print myfunction_short(1, 2);  # prints 3
    
  2. or download this
    int z = 0;
    void myroutine(int x, y) // "void" tells the compiler that no value is
    + returned
    ...
    {
        return(x + y); // add the values of the 2 defined parameters then 
    +return the result
    }