In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Bin2D() and D2Bin()

Xailer English public forum
Responder
Stephan Hennekens
Mensajes: 305
Registrado: Jue Nov 30, 2006 12:17 am

Bin2D() and D2Bin()

Mensaje por Stephan Hennekens »

Hi,
does anyone know if functions like Double2Bin() and Bin2Double() are
available in Xailer or xHarbour?
Regards,
Stephan
user
Mensajes: 13
Registrado: Mar Mar 13, 2007 6:39 pm

Bin2D() and D2Bin()

Mensaje por user »

there is L2Bin() and Bin2L() that are 4 bytes (signed)...
also there is U2Bin() and Bin2U() that are 4 bytes (unsigned)...
Stephan Hennekens wrote:
> Hi,
>
> does anyone know if functions like Double2Bin() and Bin2Double() are
> available in Xailer or xHarbour?
>
> Regards,
> Stephan
>
>
Stephan Hennekens
Mensajes: 305
Registrado: Jue Nov 30, 2006 12:17 am

Bin2D() and D2Bin()

Mensaje por Stephan Hennekens »

Thanks, but these functions need to handle doubles. D2Bin() for example
should result in an 8 bytes string.
Regards,
Stephan
<user@domain.invalid> wrote in message news:[email=45f6e1f3@news.xailer.com...]45f6e1f3@news.xailer.com...[/email]
> there is L2Bin() and Bin2L() that are 4 bytes (signed)...
> also there is U2Bin() and Bin2U() that are 4 bytes (unsigned)...
>
> Stephan Hennekens wrote:
>> Hi,
>>
>> does anyone know if functions like Double2Bin() and Bin2Double() are
>> available in Xailer or xHarbour?
>>
>> Regards,
>> Stephan
Stephan Hennekens
Mensajes: 305
Registrado: Jue Nov 30, 2006 12:17 am

Bin2D() and D2Bin()

Mensaje por Stephan Hennekens »

Found these functions. They are in the What32 lib.
<user@domain.invalid> wrote in message news:[email=45f6e1f3@news.xailer.com...]45f6e1f3@news.xailer.com...[/email]
> there is L2Bin() and Bin2L() that are 4 bytes (signed)...
> also there is U2Bin() and Bin2U() that are 4 bytes (unsigned)...
>
> Stephan Hennekens wrote:
>> Hi,
>>
>> does anyone know if functions like Double2Bin() and Bin2Double() are
>> available in Xailer or xHarbour?
>>
>> Regards,
>> Stephan
Responder