Hi..
Ques : There is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to display the sum result in function a with out using global variable. how we do?
There is two functions function a and function b
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Shen Hengbin94 reputationPosted Jan 11, 2012, 2:39 PM EST
From your post . you just need invoke the function b in your function a
function b (x , y)
{
return x + y ;
}
function a(x , y)
{
// call b (x , y);
}