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

# FZ_ASGBIT

Description

Assigns a bit to 0 or 1. This macro will set the nth bit to 0 or 1. The 0th bit is the least significant bit. The other bits are left unchanged.

Plugin Prototype

#define FZ_ASGBIT( val, n, i)

Parameters

lvalue val [Input, Result]

integer variable whose bit is to be set.

integer n [Input]

bit position to set.

integer i [Input]

value to set 0 or 1.

Availability

5.0.0.0

Defined in

fzrt_api_type.h