SUB | FUNCTION |
It can be used with multiple expressions and give multiple values. | It can return only a single value. |
It is called in the calling module using a CALL statement. | It is called in the calling module using a variable or PRINT statement. |