Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfbin2li()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfBin2Li()
Executes a BIN2L reverse string
------------------------------------------------------------------------------
Syntax:

     dfBin2Li( <cStr> ) --> nRet

Parameters:

     <cStr>     String on which executes calculation

Returns:

     <nRet>     Return

Description:

     Allows to execute a BIN2L with reversed values Return value of
     funzione is a 32 bit signed value

Example:

     LOCAL cBuffer := CHR(1) +CHR(2) +CHR(3) +CHR(4)
     ? dfBin2Li( cBuffer )
     
     // This function use half time of the
     // same code:
     
     ? BIN2L( SUBSTR(cBuffer,1,1) +;
              SUBSTR(cBuffer,2,1) +;
              SUBSTR(cBuffer,3,1) +;
              SUBSTR(cBuffer,4,1)  )

See also:

     dfStrInv()

See Also: dfStrInv()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson