native

read_flags

Syntax

native read_flags(const flags[]);

Description

Converts a flag string to a bitflag value.

Parameters

flags Flag string to convert

Note

Example: The string "abcd" represents the sum of 1, 2, 4, and 8 - or
(1<<0)|(1<<1)|(1<<2)|(1<<3). The function will return 15.

Return

Bitflag value