>Statement is not in a procedure (Error 1931) >Statements are not allowed after the ENDPROC clause. For more information, see DEFINE CLASS. >>
>DEFINE CLASS EMPS_Out_Class AS SESSION OLEPUBLIC
>
> FUNCTION Multiply(tnOne AS INTEGER, tnTwo AS INTEGER) AS INTEGER
> LOCAL lnResult
> ENDFUNC
>
>ENDDEFINE
>
>
>And all lines after it get reported as errors during the build. Why is having an ENDFUNC bad?Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer