Skip to content

Concepts

Witherbear edited this page Mar 10, 2023 · 2 revisions

Concepts

DonutScript have various concepts, like variables and functions.

Variables

Variables are a tiny data stored in your program. In DonutScript, we store variables like this:

variable = 1

Numbers and Strings

Numbers are a data stored in your program. Numbers can be integers or floating point. Integers:

1 2 3 7 10 234

Floats (or floating point):

1.0 3.0 4.5 1.62 12.67 1.999

Strings are texts into double quotes. Here's a example:

"i'm a string"

Strings can not stored as that:

i'm not a string
Clone this wiki locally