Skip to Content
0
Former Member
Jul 19, 2007 at 02:41 PM

help with code

11 Views

Hi all,

Iam getting two warning saying at the lines with write statment

Statement not acessible and even when i activate it with warnings i don't get any o/p i tried in debugging after first form find_sum its just comes out

data : num1 type i ,

num2 type i.

num1 = 7.

num2 = 10.

perform find_sum using num1 num2.

form find_sum using num1 type i num2 type i.

num1 = num1 + num2.

endform.

write num1. "out put will be 7 itself.

*********changing**********

perform find_sum1 changing num1 num2.

form find_sum1 changing num1 num2.

num1 = num1 + num2.

endform.

write num1. "out put will be 17.

Thanks

Kajol