Skip to content

Multiple independent actions on a single line

Leon Starr edited this page Sep 5, 2021 · 1 revision

If multiple actions are relatively terse and can execute independently of one another (with no data dependence among them) we can use the ; symbol to separate them on one line.

x = originX + length; y = originY + height

Note that the semi-colon not only separates the actions, it indicates that no data dependency exists among those actions.

Introduction

Model semantics

Flows (as Variables)

Constants and literals

Structure of an activity

Accessing the class model

Data flow


Grammar and parsing notes

Components

Clone this wiki locally