VISUAL BASIC

VISUAL PROGRAMMING

VISUAL BASIC

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the syntax of the Call statement?
A
Call procedureName([argumentList])
B
Call procedureName{[parameterList]}
C
Call procedureName([argumentList], dataType)
D
Call procedureName([argumentList]) As dataType
Explanation: 

Detailed explanation-1: -The CALL statement transfers control from one object program to another within the run unit. The program containing the CALL statement is the calling program; the program identified in the CALL statement is the called subprogram.

Detailed explanation-2: -The CALL statement runs a specified registered stored procedure, optionally including one or more arguments for the specified stored procedure. The CALL statement is for use only with stored procedures that return voids. This statement cannot be combined with other functions or operators within an MDX expression.

Detailed explanation-3: -You call a subprocedure using the SYSCALL statement. On the SYSCALL statement, name the subprocedure and any parameters you want to pass to the subprocedure. The parameters can be data strings, variable values, or variable names.

Detailed explanation-4: -Parameter Written in Function Call is Called “Actual Parameter”. One can use numbers, expressions, or even function calls as actual parameters.

There is 1 question to complete.