Put

LiveCode’s put command will probably be the command you use the most when coding as it serves two very important purposes:

  • Assigning a value to a variable
    put "cat" into myVar
    // assigns the value "cat" to the variable "myVar"
  • Output’s the content to the browser
    put "Hello World!"
    // outputs "Hello World!" (excluding the quotes) to the browser

Leave a Reply