$FUNCNAME$
  L2BIN()
$CATEGORY$
  CONVERSION,MISCELLANEOUS,NUMERIC
$SUMMARY$
   Convert a xClipper numeric value to a 32-bit binary integer
$LANG_RU$
       32-  .
$SYNTAX$
     L2BIN(<nExp>) --> cBinaryInteger
$LANG_RU$
     L2BIN(< >) -->  
$ARGUMENTS$
     <nExp> is the numeric value to be converted.  Decimal digits are
     truncated.
$LANG_RU$
     < > -  .   
     .
$RETURNS$
     L2BIN() returns a four-byte character string formatted as a 32-bit
     binary integer.
$LANG_RU$
     L2BIN()      
     32-  .
$DESCRIPTION$
     L2BIN() is a low-level file function used with FWRITE() to write
     xClipper numeric values to a binary file.  This function is like
     I2BIN() which formats a xClipper numeric to a 16-bit binary value.

     L2BIN() is the inverse function of BIN2L().
$LANG_RU$
     L2BIN()      , 
         FWRITE()    
       .     I2BIN(),  
       xClipper   16-  .

     L2BIN()   BIN2L(),   
       ,    ,
         xClipper.
$EXAMPLES$
       This example creates a new binary file, and then writes a
	series of numbers to the files using L2BIN() to convert the numeric
	value to 32-bit binary form:

	#include "Fileio.ch"
	//
	LOCAL nNumber, nHandle
	nHandle := FCREATE("MyFile", FC_NORMAL)
	FOR nNumber := 1 TO 100
	   FWRITE(nHandle, L2BIN(nNumber) + CHR(0))
	NEXT
	FCLOSE(nHandle)
$LANG_RU$
                
       ,     L2BIN()  
          32-  :

       #include "Fileio.ch"
       //
       LOCAL nNumber, nHandle
       nHandle := FCREATE("MyFile", FC_NORMAL)
       FOR nNumber := 1 TO 100
	  FWRITE( nHandle, L2BIN(nNumber) + CHR(0))
       NEXT
       FCLOSE(nHandle)
$SEEALSO$
  BIN2I(),BIN2L(),BIN2W(),CHR(),FWRITE(),I2BIN()
$END$
