As in many C tradition languages (C, C++, Java, Perl, Python, Tcl, and csh), E statements and expressions appear only inside function and object definitions. Actually, E has no statements -- only expressions. The control-flow constructs, like the if expression, that one might expect to be statements are instead expressions in E.
The next chapter, Control Flow Expressions , covers the ones most like traditional control-flow. The following chapter, The for Loops, covers E's main iteration construct. Then, in The define Expressions , we see how to define new variables, functions, normal objects, and message plumbing objects. Finally, Inheritance by Delegation , introduces the class expression, which supports a pattern of delegating messages that mirrors the conventional notion of inheritance.
Quick Links to Sequential E Control Structures
Control Flow Expressions
The for Loops
Unless stated otherwise, all text on this page which is either unattributed or by Mark S. Miller is hereby placed in the public domain.