Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Saving Negative Variables

Author
Message
Black Hydra II
20
Years of Service
User Offline
Joined: 26th Nov 2003
Location:
Posted: 30th Apr 2004 22:03
I noticed that when using the WRITE WORD command it cannot save negative numbers. So I decided to switch to WRITE FLOAT. However, I use a FOR loop to write all my data so the image File was also written down as a float and now it cannot load it...

My question is: 1) Can you use floats saved by WRITE FLOAT as image numbers and such?
2) If not, what variable will save negative whole numbers?

"Damn had to remake account!" direct quotation from previous account.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 30th Apr 2004 22:16
Use READ/WRITE LONG instead.
The way they named the file READ/WRITE commands is pretty confusing.

i won't see you in the pit

Login to post a reply

Server time is: 2024-09-22 07:31:02
Your offset time is: 2024-09-22 07:31:02