Menu

#1 Assignment on declaration

Next_Release
open
5
2002-12-13
2002-12-13
No

When declaring variables, regardless of scope,
allow the coder to define the variable's initial
assignment.

Examples:

atom myPi = 3.1427

sequence WindowTitle = "Text Editor"

procedure iSort(sequence s)

integer lo = 1, hi = length(s)

. . .

end procedure

Discussion