The set function is used to create a variable in the global environment (scope). It takes two arguments, a Q-Expression containing the name of the variable, and the value of the variable (the type depends on what type of variable you want it to be). It can also be used to bind functions to symbols, as demonstrated in the previous page.
set {name} value
We will declare a variable called myFavoriteNumber and set it to 6:
dagger> set {myFavoriteNumber} 6
()
dagger> myFavoriteNumber
6
The symbol "myFavoriteNumber", is now bound to the number 6, whenever we call myFavoriteNumber, it returns 6.