Memory.BitOR

string Memory.BitOR ( 

string  Number1,

string  Number2,

string  ... )

Description

Bitwise OR. You should be familiar with binary numbers when using this operator.

Note: In BitwiseAND, BitwiseOR and BitwiseXOR there is no limit for parameters and you can bitwise 2 till unlimit numbers.

Note: Plugin return and get parameters in string mode for some issue(for bug on Int64 numbers) but you can set them as number.

Returns

(string) Return Bitwised numbers in string mode.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

Example 1

num = Memory.BitOR(10, "50", "80", 60, 3) Dialog.Message("", num)

Example 2

num = Memory.BitOR(10, 2) Dialog.Message("", num)

Example 3

num = Memory.BitOR("90000000000000", 2) Dialog.Message("", num)

See also:  Related Actions

Сайт управляется системой uCoz