The following is a list of the basic concepts you should understand to take DigHT 310. This should all have been covered in DigHT 210.
Understand the following programming principles, when they are used and how they are expressed in LiveCode scripting.
- statement order
- conditional statements
- looping
RunRev LiveCode
Objects (= Controls) - examples: stack, group, button, field, image, graphic, etc.
Properties
global properties - examples:
the itemDelimiter, the defaultFolder
object properties - examples:the name of field 1, the location of button "myButton"
Script
Message - reports of "events" that are sent to objects in LiveCode
Message handler - Blocks of code in an object's script that allow you to control the behavior of the object.
The LiveCode Scripting Language - LiveCode's object scripting language, formerly known as Transcript.
Understand the following LiveCode language elements and their basic syntax:
- Command
- Function
- Control structures
- if -then - else
- repeat
- switch
- reading/setting properties
- to read:
put the visible of btn "myButton" into myVar
- to set:
set the visible of btn "myButton" to true
- custom properties
- variables
- literals
- constants
- operators
- key words (most of the rest; usually they modify commands. Example: in the statement
go to any card
the words
to
andany
are keywords.
Understand and use LiveCode Best Practices.
Back DigHT LiveCode Gateway