Lingo Dictionary > L-N > label() |  |

label()

Syntax

    label(expression)

Description

Function; indicates the frame associated with the marker label specified by `expression`. The term `expression` should be a label in the current movie; if it's not, this function returns 0.

Example

This statement sends the playback head to the tenth frame after the frame labeled Start:

    go to label("Start") + 10

Example

This statement assigns the frame number of the fourth item in the label list to the variable `whichFrame`:

    whichFrame = label(the labelList.line[4])

See also

`go`, `frameLabel`, `labelList`, `marker()`, `play`