então deixei a funcao abaixo dentro winfunc.prg assim:
FUNCTION RCmLine( nTop, nLeft, nBottom, nRight, oPen ) INLINE
::Cmtr2Pix(@nTop, @nLeft), ::Cmtr2Pix(@nBottom, @nRight),;
MoveTo( ::hDCOut, nLeft, nTop ),;
LineTo( ::hDCOut, nRight, nBottom,;
If( oPen != nil, oPen:hPen, 0 ) )
veja o erro que aparece quando compilo:
1. I:\teste\winfunc.prg(25) Error E0030 Syntax error: "syntax error at 'INLINE'"
2. I:\teste\winfunc.prg(29) Error E0030 Syntax error: "syntax error at ','"
eu acho que é esse inline nao achei ele nos CH
Ronaldo Minacapelli
(11) 2950 3069