Ngô Thảo Trúc
Member
Which of the following is correct syntax for block definition?
A.
B.
C.
D.
A.
Code:
label : BLOCK
declarative_part;
BEGIN
concurrent_statements;
end BLOCK label;
Code:
label : BLOCK
declarative_part;
BEGIN
concurrent_statements;
end label BLOCK;
Code:
BLOCK block_name;
declarative_part;
BEGIN
concurrent_statements;
end BLOCK block_name;
Code:
BLOCK block_name
declarative_part;
BEGIN
sequential_statements;
end BLOCK;