Answer
- First of all, we don't have to declare the return type of the
subroutine the way we would with a function. This is not surprising,
since subroutines don't return anything!
- We call a subroutine by using the keyword ``CALL''. Notice that
the call statement is on a line by itself. It is like an assignment
statement or a READ statement in this respect.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu