For Programmers: Free Programming Magazines  


Home > Archive > Clipper > January 2006 > Help for decoding these numeric value with a non DBF database.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help for decoding these numeric value with a non DBF database.
Sylvain Larche

2006-01-10, 3:55 am

Hi All,

I have been working on this problem for a few hours and still can't
figure out how the numeric value are encoded


Chr(0) + Chr( 0 ) + Chr( 192 ) + Chr( 65 ) should be decoded to 24

Here I attach a file it is embedded Chr(0) i use Multi-Edit to view the
file where you have 10 differente sample and documentation about the
structure of the file.

In this file i did sample with value of 0.01 to 0.10 for 1 specific
field but there is other field updated as well

Does anyone have an idea about how to decode these value ?



Sylvain Larche
IoSys Technologie Inc.
iosys@videotron.ca
E. Fridman

2006-01-10, 3:55 am

What platform (Wintel, Unix, Mainframe, MAC, etc.) did the file come
from? What was the original extension of the file? Are you in
possession of the application that modifies this file?

Any additional information might help us to help you.

Sylvain Larche

2006-01-10, 3:55 am

E. Fridman wrote:
> What platform (Wintel, Unix, Mainframe, MAC, etc.) did the file come
> from? What was the original extension of the file? Are you in
> possession of the application that modifies this file?
>
> Any additional information might help us to help you.
>


It is DOS base program and very very old "1988", i have the application
working but i want to get rid of it and replace it by an xHarbour
application.

The sample i provided are extracted from the file originaly called
ITEMZ01.V90 with a small utility i wrote i was able to find that every
record is 290char in length all text field where easyly extracted but i
am puzzle with all the numeric value.

Sylvain Larche
IoSys Technologie Inc.
iosys@videotron.ca


Sylvain Larche

2006-01-10, 3:55 am

Sylvain Larche wrote:
> Hi All,
>
> I have been working on this problem for a few hours and still can't
> figure out how the numeric value are encoded
>
>
> Chr(0) + Chr( 0 ) + Chr( 192 ) + Chr( 65 ) should be decoded to 24
>
> Here I attach a file it is embedded Chr(0) i use Multi-Edit to view the
> file where you have 10 differente sample and documentation about the
> structure of the file.
>
> In this file i did sample with value of 0.01 to 0.10 for 1 specific
> field but there is other field updated as well
>
> Does anyone have an idea about how to decode these value ?
>
>
>
> Sylvain Larche
> IoSys Technologie Inc.
> iosys@videotron.ca


I tried to send an file attachement but it seem to fail.
i have created the same thread in the xharbour newsgroup.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com