Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Language Guide

After this chapter you can write Structured Text as this compiler accepts it. Its subchapters build on each other, so read them in order the first time.

They cover the shape of a source file, the rules for names and scope, the declaration of variables, and the types that hold numbers, text, time, and structured data. They then cover the expressions and statements that compute and decide, the units of code that a program is built from, and the mechanisms for larger designs, from methods and interfaces to generic functions, pointers, hardware addresses, and bodies that are drawn as charts. Each one also states what the compiler rejects, and what it accepts without doing what the words suggest.