PDA

View Full Version : Question: What are the capbilities of "evaluate expression" in the "set variable" ...



NewsArchive
02-26-2010, 02:21 AM
Hi Friedrich,

what are the capbilities of "evaluate expression" in the "set variable"
script item?

Can I do bitwise operations like

1 && 12 && 4

In this case, I would expect 13 as result.

Thanks for your answer.

Markus

NewsArchive
02-26-2010, 02:22 AM
Hi Markus,

> what are the capbilities of "evaluate expression" in the "set variable"
> script item?
>
> Can I do bitwise operations like
>
> 1 && 12 && 4
>
> In this case, I would expect 13 as result.

That was the original idea of this function in Version 5 (some years back).
But we never enhanced that function to programmatically evaluate expression
strings such as ( ( 3 + 5 ) / 2 ) > 4

We have renamed the operation to "Arithmetic Operation" now.

Friedrich

NewsArchive
02-26-2010, 02:22 AM
Ok. How would you do bitwise OR with SB?

I have an idea, but it seems to be to complicated.

Markus

NewsArchive
02-27-2010, 02:07 AM
> Ok. How would you do bitwise OR with SB?
>
> I have an idea, but it seems to be to complicated.

Bitwise OR added to the "Set Variable" function.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows 7 installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-27-2010, 02:08 AM
WOW, WOW, WOW

Thanks!

Markus Zander