It is currently Wed Jun 26, 2019 10:54 am

All times are UTC




 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: ERROR PREPROCESADOR en Harbour 3.1
PostPosted: Fri Jun 22, 2012 1:04 pm 

Joined: Thu Dec 30, 2010 8:46 pm
Posts: 92
Buenas
Teniendo esto definido

#ifdef __HARBOUR__
#ifdef __WINDOWS__
#include "hbcompat.ch"
#endif
#endif

El preprocedado de;
#xcommand DEFINE [PC] KEY [ <oKey> ] ;
[ FONT <oFont> ];
[ OF <oParent> [, <oParentN>]] ;
=> ;
[ <oKey > := ] gKey():New( \{ <oParent> [, <oParentN>]\}, <oFont> )

#xcommand [PC_Set] KEY <nKey>[, <nKey1> ] ;
[ ACTION <bAction> ];
[ OF <oKey> ] ;
=> ;
<oKey>:SetKey( \{ <nKey>[, <nKey1> ] \}, [ \{|o| <bAction> \} ] )


Es traducido como;

oKey := gKey():New( { oTree_Lineas}, )
oKey:hb_SetKey({ 0xFFBF }, {|o| eval( oBtnPon:bAction ) })

Y hace cascar porque el method hb_setKeY() no existe

El culpable es el hbcompat.ch, no he tenido tiempo de mirar el porque, pero informo por si
os encontrais con cosas raras.


Offline
 Profile Send private message  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron