Update If Keyword

2026-01-09 17:42:08 +11:00
parent a684da20ac
commit 69e3866f7a

@@ -2,10 +2,11 @@ Keyword: `if`
Syntax: `if $bool %line` Syntax: `if $bool %line`
Time Complexity: `O(1)` (average case or line number), `O(n)` (worst case with labels), where `n` is the number of labels created. Average Time Complexity: `O(1)`
Worst Case Time Complexity: `O(n)`
## Overview ## Overview
The `if` keyword allows you to jump to a label or line if a condition is true. It is a core part of the ground programming language, as it would not be [Turing Complete](https://en.wikipedia.org/wiki/Turing_completeness) without. The `if` keyword allows you to jump to a label or line if a condition is true. It is a core part of the ground programming language, as it would not be [Turing Complete](https://en.wikipedia.org/wiki/Turing_completeness) without.
## Example usage ## Example usage