Variables in bubblecode are created the moment you assign a value to them — no declarations needed. bubblecode supports two English-like assignment styles.
put … into
The most common pattern. Reads naturally as “put this value into that container.”
example.bubbleset … to
An alternative syntax that reads well for updates.
example.bubbleBoth styles are interchangeable — use whichever reads better in context.
The add command
The add command increments a numeric variable in place.
example.bubbleString concatenation in assignment
Use & (join) and && (join with space) to build strings.
example.bubbleVariable naming
Variable names are case-insensitive single words. They can contain letters, digits, and underscores, but must start with a letter.
Valid names
1put 1 into counter2put "ok" into myVar3put 99 into score1