Cronus GPC Documentation
Cronus Community
GPC Library
GPC Guide
Search
⌃
K
Links
Welcome
Introduction
GPC Explained
What's New with Zen?
Basic Syntax
A Simple Tutorial
Style Guide
GPC Structure
Basic GPC Structure
Definitions
Data Section
Remapping
Variables
Init Section
Main Section
Combo Section
User Created Functions
GPC Programming Basics
Constants
Flow Control
Persistent Memory
Operator Types
Identifiers
Functions & Commands
Internal Functions
Console Functions
Controller Functions
Keyboard Functions
GPC Examples
#1
Powered By
GitBook
Style Guide
opcode¹ ² ³
opcode
sets one bit of a variable based on its bit index¹ ² ³
opcode
(
a
,
5
);
🔴
Syntax
¹ ² ³
opcode( <variable> , <bit_index> );
⚪
Parameters
<variable> : any defined variable. <bit_index> : index point of the bit to be set with a range of 0 to 15.
🔵
Returns
Nothing
Previous
A Simple Tutorial
Next
Basic GPC Structure
Last modified
3yr ago