PDA

View Full Version : Free Disk Space



NewsArchive
02-13-2012, 04:31 AM
Hi Friedrich,

I still have Problems with big drives. See attached screenshots. What am
I doing wrong?

Thanks.

Markus

NewsArchive
02-13-2012, 04:31 AM
Hi Markus,

> I still have Problems with big drives. See attached screenshots. What am
> I doing wrong?

What does "Get System Info" (Free Disk Space) return in your case? This
should return the correct (64-bit) TB value.

But the arithmetic operations are (IIRC) limited to 32-bit values.

Friedrich

NewsArchive
02-14-2012, 12:28 AM
I checked the source code. The underlying arithmetic expressions parser
can't handle 64-bit values.

I think what we can to is to add an option to the "Handle String Operation"
function to convert a Bytes value into Megabytes and Gigabytes.

For example, "2517710254080" (Bytes) to "2401075" (MB) or 2344 (GB)

If you need the above, let me know and we'll add it to the next maintenance
build.

Friedrich

NewsArchive
02-14-2012, 12:29 AM
Hi Friedrich,

This convertion is a good idea. But additional, I think it would be a
useful to have an Arithmetic_Operation_EX, which can handle 64 bit
values, because I have more calculation (percent, etc.) in my real
script. Is this possible?

Thanks.

Markus

NewsArchive
02-14-2012, 12:29 AM
Hi Marcus,

> This convertion is a good idea. But additional, I think it would be
> a useful to have an Arithmetic_Operation_EX, which can handle 64 bit
> values, because I have more calculation (percent, etc.) in my real
> script. Is this possible?

It's not a trivial task to convert the underlying arithmetic expressions
parser to 64-bit (more than 11,000 lines of C source code). So I fear we
can't do it in the foreseeable future. Perhaps in one of the V8 updates
(V8.5+).

Friedrich

NewsArchive
02-14-2012, 12:29 AM
BTW, I put it on the wishlist for V8.

Friedrich

NewsArchive
02-14-2012, 12:30 AM
Thank you.

For now, I use this ugly workaorund shown in the attached screenshot.

Markus

NewsArchive
02-14-2012, 04:53 AM
Hi Markus,

See attached screenshots. I think we have converted the underlying
arithmetic expressions parser (in V7.7) to 64-bit now. But we'll have to
perform more tests.

Friedrich

NewsArchive
02-14-2012, 05:48 AM
Looks good.

Markus