> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brik64.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Examples

> BRIK64 PCD examples.

## Order Gate

```pcd theme={null}
PC order_gate {
    fn order_gate(amount, limit) {
        if (amount <= 0) {
            return 0;
        }

        if (limit <= 0) {
            return 0;
        }

        if (amount > limit) {
            return 0;
        }

        return 1;
    }
}
```

## Numeric Monomer

```pcd theme={null}
PC add8_gate {
    fn add8_gate(a: i64, b: i64) -> i64 {
        return MC_00.ADD8(a, b);
    }
}
```

String monomer helpers such as concat and length are SDK-level examples in the
current public beta. The CLI PCD parser supports the documented numeric monomer
profile first.
