Variables
Variables
Type
Possible Values
Examples
Setting Variables
<<set $greeting to "Hello, Yarn!">>Variables and Types
// Set some initial values in some variables
<<set $myCoolNumber to 7>>
<<set $myFantasticString to "wow, text!">>
// Now change them!
<<set $myCoolNumber to 8>>
<<set $myFantasticString to "incredible!">>Variables and Expressions
Using Variables in Lines
Variables and Storage
Last updated
Was this helpful?
