native

read_flags

Syntax

native read_flags(const flags[]);

Description

Converts string to sum of bits.
Example: "abcd" is a sum of 1, 2, 4 and 8.