Skip to content

Add flag? MPI Function #717

@tanabi

Description

@tanabi

This is the equivalent to the flag? MUF prim.

Calling signature:

{flag?:#ref,str}

where 'str' is one or more flags to test for. 'M' flag will ignored and a number will be used for MUCKER bits. So, thusly:

{flag?:#123,ACBM3}

and

{flag?:#123,ACB3}

are equivalent. This isn't a hard requirement; if there's an existing library function we can use to check multiple flags by string (I don't remember off the top of my head, but check around first!) then use it and have the function work whatever way the existing code works. But I'm about 80% sure there's not an existing call.

Returns boolean true if all flags match, boolean false if any flag isn't set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions