Procedural Programming

The Wolfram Language stands out from traditional computer languages in supporting many programming paradigms. Procedural programming is the only paradigm available in languages like C and Java, as well as most scripting languages. The Wolfram Language supports all standard procedural programming constructs, but often extends them through integration into its more general symbolic programming environment.

(RefLink[x=value, paclet:ref/Set])  ((RefLink[Set, paclet:ref/Set])) — set the value for a variable

(RefLink[expr;expr;expr, paclet:ref/CompoundExpression])  ((RefLink[CompoundExpression, paclet:ref/CompoundExpression])) — execute expressions in sequence

(OrangeLink[Assignments », paclet:guide/Assignments])

(OrangeLink[Loops », paclet:guide/LoopingConstructs])

(OrangeLink[Conditionals », paclet:guide/Conditionals])

(OrangeLink[Flow Control », paclet:guide/FlowControl])

(OrangeLink[Scoping Constructs », paclet:guide/ScopingConstructs])

(OrangeLink[Input, Output, Etc. », paclet:guide/BasicInputAndOutputInPrograms])