formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT)

# FZ_SETBIT

Description

Sets a bit to 1. This macro will set the Nth bit of the specified integer. The 0th bit is the least significant bit.

Plugin Prototype

#define FZ_SETBIT( val, n)

Parameters

lvalue val [Input, Result]

integer variable whose bit is to be set.

integer n [Input]

bit position to set.

Availability

5.0.0.0

Defined in

fzrt_api_type.h