The Basics
Importing Libraries
Traditional Variables
Magic Variables
Global Variables
Strings
Declared Metadata
Property Modifier
Key Modifier
Type Casting
If & Else Statments
Repeat & Repeat Each
Functions & Macros
Menus
Magic variables, are use to capture the output of a function. These are not mutable variables (meaning there values can not be edited). To assign the output of a function to a variable you can use the following syntax
Text("Hello World!") >> HelloWorld
You can use magic variables in the input to other functions the same as you can with regular variables.
When Jelly creates internal magic variables automatically (for example while resolving expressions), generated names now use a compact GMV- prefix. You can still assign your own descriptive names with >> when needed.
Check out the Strings documentation to see how to place a magic variable into a string