Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Fool's Variables

This prompt is designed to teach you how to declare variables in FoolScript.

Setup

In the .github/prompts folder of your project, add a new file called fools-variables.prompt.md.

Usage

Example that will use the current language:

Terminal window
#file:fools-variables.prompt.md

Example that will use Python:

Terminal window
#file:fools-variables.prompt.md Python

Prompt

Provide a quick outline on how to declare variables in the current language. Include the following if they apply:
## Variable With Type Declaration
## Variable Without Type Declaration
## Dynamic Typing
## Null Equivalent
Begin your response with an empty markdown block. Add 3 backticks (```) before the response. For example:
```markdown
```
Response...