Computer Science, asked by jnandani038, 10 months ago

Q. What is return value of a function.​

Answers

Answered by michaeljohnjohn85
1

Explanation:

A return is a value that a function returns to the calling script or function when it completes its task. A return value can be any one of the four variable types: handle, integer, object, or string. The type of value your function returns depends largely on the task it performs.

Answered by heemani26
0
A return is a value that a function returns to the calling script or function when it completes its task. A return value can be any one of the four variable types: handle, integer, object, or string. The type of value your function returns depends largely on the task it performs.
You use the Function Returns edit combo box in the General page of the New Script dialog to tell JAWS the type of value the function returns. You also type the description of the return in the Return description edit box. Adding a description for the return, helps you and anyone else using your function to determine exactly what the value should be used for within the calling script or function.
When you create a new function that returns a string value, the Script Manager places the following function beginning line into your script file:
String Function MyFunction ()
The "string" key word that precedes the "function" key word tells you that the MyFunction function returns a string value to the calling script or user-defined function.




Please please mark it as brainliest answer
Similar questions