Executing single if statement if in Handler having many ifs

HI

I have created a function
in that i have 10 if statements ,
if i pass a value "5" that should execute only if condition 5 with out verifying other if conditions and exit function
if i give value "all" it should execute all 10 if conditions

ex:
to handerxxxx i
if i=1
end if

if i=2
end if

if i=3
end if
.
.
.
..

end handlerxxx

Comments

Sign In or Register to comment.