Search found 29 matches: nxor

Return to advanced search

Re: funcion encriptar

Estimado Dario,

[x]Harbour no admite $XOR$

Prueba a usar hb_bitXor() ó nXor() de FWH
by Antonio Linares
Sun Oct 27, 2024 7:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: funcion encriptar
Replies: 2
Views: 136

AYUDA Validacion LRC para datafono

... } return(vl_iLRC); }; // SEGUN FORO DE FIVEWIN function LRC( cText ) local nCheckSum := 0 local n for n = 1 to Len( cText ) nCheckSum = nXor( nCheckSum, Asc( SubStr( cText, n, 1 ) ) ) next return (nCheckSum) // valores esperados vs obtenidos con metodo fivewin LRC() // valor esperado ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 675

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 7723

Rutina para leer Gps

... checksum esta apartir de "*" nSum2 := Asc( Substr( cCad, 1, 1 ) ) // cogemos el primer caracter a sumar FOR c := 2 TO nLen -1 nSum2 := nXor( nSum2, Asc( Substr( cCad, c, 1 ) ) ) NEXT RETURN IIF( nSum1 == nSum2, .t., .f. ) ////////////////////////////////////////// // // Actualiza los ...
by Busmatic_wpb
Sat Jul 22, 2017 1:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Rutina para leer Gps
Replies: 1
Views: 1034

Test GPS Error en encontrado

... checksum esta apartir de "*" nSum2 := Asc( Substr( cCad, 1, 1 ) ) // cogemos el primer caracter a sumar FOR c := 2 TO nLen -1 nSum2 := nXor( nSum2, Asc( Substr( cCad, c, 1 ) ) ) NEXT RETURN IIF( nSum1 == nSum2, .t., .f. ) ////////////////////////////////////////// // // Actualiza los ...
by Busmatic_wpb
Fri Jul 21, 2017 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test GPS Error en encontrado
Replies: 0
Views: 669

Re: DEFINE WINDOW MDI with NOSYSMENU?

Dutch,

Once you create your MDICHILD window, do this:

#define GWL_STYLE -16

SetWindowLong( oWndChild:hWnd, GWL_STYLE, nXor( GetWindowLong( oWndChild:hWnd, GWL_STYLE ), WS_SYSMENU ) )
by Antonio Linares
Tue Jul 02, 2013 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DEFINE WINDOW MDI with NOSYSMENU?
Replies: 1
Views: 564

Re: nXOR

... cRecno := '' FOR n=1 TO 6 nRecno += 'Val( NumToHex( Asc("' + StrChar(cCad , n) + '")))' if n < 6 nRecno += ', ' endif NEXT MsgInfo ( nXor ( nRecno ) ) => 0 está mal MsgInfo( nXor( Val( NumToHex( Asc( "1" ) ) ), ; Val( numtohex( Asc( "2" ) ) ), ; Val( numtohex( ...
by Manuel Valdenebro
Sun Nov 13, 2011 4:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: nXOR
Replies: 2
Views: 587

Re: nXOR

Manuel,

Prueba asi:

Code: Select all  Expand view
function Test()

   MsgInfo( nXor( Val( hb_numtohex( Asc( "1" ) ) ), Val( hb_numtohex( Asc( "2" ) ) ) ) )

   MsgInfo( nXor( 31, 32 ) )

return nil
by Antonio Linares
Sun Nov 13, 2011 9:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: nXOR
Replies: 2
Views: 587

nXOR

alert (numtohex ("1")) => 31 alert (numtohex ("2")) => 32 pero alert ( nXor( NUMTOHEX("1"), NUMTOHEX("2") ) => 0 (valor incorrecto) alert ( nXor( (StrToHex("1")), (StrToHex("2") ) )) => 0 (valor incorrecto) ...
by Manuel Valdenebro
Sun Nov 13, 2011 6:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: nXOR
Replies: 2
Views: 587

Re: Se necesita ayuda en el wiki !

... nRGBGreen() nRGBRed() nSerialA() nSerialHD() nStrCrc() nStrHash() nTcwRow() NtxPos() nTxtLines() nWindows() nWndChrHeight() nWRow() nWRows() nXOr() Saludos, Carlos Gallego
by Cgallegoa
Sun Feb 21, 2010 10:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5823

Re: Xor() == nXor() == NumXor() ?

Thanks for confirmation,
Dutch
by dutch
Mon Nov 30, 2009 7:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xor() == nXor() == NumXor() ?
Replies: 3
Views: 864

Re: Xor() == nXor() == NumXor() ?

Dear All,

After test, I found all function return the same value.

It means
Xor(funcky) == nXor(FWH) == NumXor(xHarbour) == .T.

Is it correct?

Regards,
Dutch
by dutch
Mon Nov 30, 2009 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xor() == nXor() == NumXor() ?
Replies: 3
Views: 864

Xor() == nXor() == NumXor() ?

Dear All,

I try to convert my Clipper to 32bits. Xor() function is equal to which function?

Xor(funcky) == nXor(FWH)
or
Xor(funcky) == NumXor(xHarbour)

Which one is equal to?

Regards,
Dutch
by dutch
Mon Nov 30, 2009 5:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xor() == nXor() == NumXor() ?
Replies: 3
Views: 864

Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated

...               nStyle = ParseDlgStyle( AllTrim( SubStr( cLine, 6 ) ) )               if lAnd( nStyle, WS_CHILD )                  nStyle = nXor( nStyle, WS_CHILD )               endif               if nAnd( nStyle, WS_CAPTION ) != WS_CAPTION                  nStyle = nOr( nStyle, WS_CAPTION ...
by Otto
Sun Aug 30, 2009 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Replies: 38
Views: 12558
Next

Return to advanced search