Write the syntax and function of DECLARE statement.
1 Answer
It is a nonexecutable statement that is used to declare or define a sub or a function procedure with or without parameters. It must be the first line in a modular program.
Syntax
DECLARE SUB/FUNCTION procedureName (Parameters)
Example
DECLARE FUNCTION AREA (B, H)
DECLARE SUB INTEREST (P, T, R)
-
Who is a system analyst? What are the characteristics of system analysts? 1
-
What are the different stages of the system development life cycle (SDLC) 1
-
What do you understand about AI? What are the negative and positive aspects of AI in society? 1
-
How does an AI application work? Can a computer really think with the aid of AI? 1