next up previous
Next: Some advices on the Up: Pseudo code Previous: Input and output

Further operations

In general, it is useful to give an outline in descriptive text and to avoid irrelevant details. Use as little programming-language dependent phrases as possible. If more details need to be given, a FORTRAN/PASCAL type code can be used, for example formulas including +, -, *, /, and (). For assigning, := is preferred. Conditions may include =, >, <, etc., but not as logical expressions.


In pseudo code no type distinction is made between integers and reals. Numbers are considered real with infinite accuracy. If necessary, although rarely, PASCAL operators DIV (integer division) and MOD (remainder) can be used.


Notes:


next up previous
Next: Some advices on the Up: Pseudo code Previous: Input and output
The SWAN team 2016-06-28