Can any one tell me, is it possible to put conditions on functions while calling them from another function ?
Ex:-
function function1()
{
function2();
if function2() return value is true then
function3();
else
function4();
if function4() return value is true then
function5();
else exit
}
Plese give me the syntax or example for the above.
Thank you,
SAHI.
Ex:-
function function1()
{
function2();
if function2() return value is true then
function3();
else
function4();
if function4() return value is true then
function5();
else exit
}
Plese give me the syntax or example for the above.
Thank you,
SAHI.