com.livecode.language

Typelibrary
DictionaryLCB
LibraryLiveCode Builder
Associationscom.livecode.language
Description

This library consists of LCS type statements and structures

TypeNameSummarySyntax
control structureExitRepeat

Exit a repeat loop.

exit repeat

- - -If

Executes a list of statements depending on the value of a condition.

if <IfCondition> then

<IfStatementList>

[else if <ElseCondition> then

<ElseIfStatementList>]

[else

<ElseStatementList>]

end if

- - -NextRepeat

Begin the next iteration of a repeat loop.

next repeat

- - -RepeatForEach

Executes a list of statements until the Iterator is exhausted.

repeat for each <Iterator> in <Container>

<StatementList>

end repeat

- - -RepeatForever

Executes a list of statements continually.

repeat forever

<StatementList>

end repeat

- - -RepeatTimes

Executes a list of statements a given number of times.

repeat <Count> times

<StatementList>

end repeat

- - -RepeatUntil

Executes a list of statements until a condition becomes true.

repeat until <Condition>

<StatementList>

end repeat

- - -RepeatWhile

Executes a list of statements while a condition continues to be true.

repeat while <Condition>

<StatementList>

end repeat

- - -RepeatWith

Executes a list of statements

repeat with <Counter> from <Start> ( up | down ) to <Finish> [ by <Step> ]

<StatementList>

end repeat

expressionTheResult

The result of the previous statement.

the result

librarycom.livecode.language

the result

statementGet

Evaluate an expression and put it into the result.

get <expression>

- - -PutInto

Put a value into a container.

put <sourceValue> into <targetContainer>

- - -Return

Causes execution of the current handler to end, and control return to the caller.

return [<returnValue>]

- - -SetTo

Put a value into a container.

set <targetContainer> to <sourceValue>

- - -ThrowError

Causes an error to be raised.

throw <errorString>