mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 00:56:31 +02:00
Simplify boolean condition checks in code examples
This commit is contained in:
@@ -421,7 +421,7 @@ Only valid inside a function.
|
|||||||
|
|
||||||
```ynt
|
```ynt
|
||||||
func greet:
|
func greet:
|
||||||
if %has_in == True call do_greet
|
if %has_in call do_greet
|
||||||
return
|
return
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -452,7 +452,7 @@ print_line ${total}
|
|||||||
|
|
||||||
```ynt
|
```ynt
|
||||||
call maybe_produce
|
call maybe_produce
|
||||||
if %has_out == True call consume_result
|
if %has_out call consume_result
|
||||||
```
|
```
|
||||||
|
|
||||||
### Clear the call stack - `clear_call_stack`
|
### Clear the call stack - `clear_call_stack`
|
||||||
|
|||||||
Reference in New Issue
Block a user