Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
329 B
Markdown
24 lines
329 B
Markdown
---
|
|
title: Booleans and logic
|
|
description: True / False / None and and / or / not
|
|
---
|
|
|
|
# main
|
|
|
|
Keywords: `True`, `False`, `None`, and `and` / `or` / `not`.
|
|
|
|
*`a` = True*
|
|
*`b` = False*
|
|
|
|
1. `a` and not `b`
|
|
> print text=ok
|
|
2. *
|
|
> print text=fail
|
|
|
|
*`probe` = 1*
|
|
|
|
1. None
|
|
> print text=none-truthy
|
|
2. *
|
|
> print text=none-falsy
|