you need to define the data type of the return value ( -> dataType)
param number1:integer,number2:integer ->integer
freelance simulation specialist
it works ,thanks for you answer.Althoughit is not an easy thing for me to grasp the syntax of simtalk2.0,I still insist studying it. I'll turn to expert like you for help when i am confussed.
Thanks this forums for disscussion!