CSC301 - CHAPTER 4-2 - Sub Procedures - Functions
CSC301 - CHAPTER 4-2 - Sub Procedures - Functions
CSC301 - CHAPTER 4-2 - Sub Procedures - Functions
FUNCTION
PROCEDURES
(3 OF 4)
¡ Called Function
¡ When writing a Function procedure,
do not place any lines of its code after
the Return statement because control
FUNCTION returns to the calling procedure when
PROCEDURES (4 the Return statement is executed
OF 4)
¡ It is best to use a Function procedure
when you plan to return a value from
a called procedure
EXCEPTION HANDLING (1 OF 6)
EXCEPTION HANDLING (4 OF 6)
EXCEPTION HANDLING (5 OF 6)
EXCEPTION
HANDLING (6
OF 6)
END OF SUBTOPIC …
SUB PROCEDURES AND
FUNCTIONS