In programming terminology, an assignment is a statement that attaches a value to a variable. Assignments use the common syntax:
Temp = "abc"
In Explain™, an assignment transfers both the value and the type of data. In this example, the variable Temp becomes a STRING with the value abc (quotes are not included). You can make assignments from one variable to another:
A = 5
Temp = A
After the first assignment, variable A has the data type INDEX and the value 5. (INDEX is a signed integer, but we define it more exactly in the Data Types section). After the second assignment, Temp also has the data type INDEX and the value 5.