assignment_statement ::= variable_name := expression;
NOTES
Value := Max_Value - 1; Shade := Blue;
Next_Frame(F)(M, N) := 2.5; -- See section 4.1.1 Indexed Components U := Dot_Product(V, W); -- See section 6.3 Subprogram Bodies
Writer := (Status => Open, Unit => Printer, Line_Count => 60); -- See section 3.8.1 Variant Parts and Discrete Choices Next_Car.all := (72074, null); -- See section 3.10.1 Incomplete Type Declarations
I, J : Integer range 1 .. 10 := 5; K : Integer range 1 .. 20 := 15; ...
I := J; -- identical ranges K := J; -- compatible ranges J := K; -- will raise Constraint_Error if K > 10
A : String(1 .. 31); B : String(3 .. 33); ...
A := B; -- same number of components
A(1 .. 9) := "tar sauce"; A(4 .. 12) := A(1 .. 9); -- A(1 .. 12) = "tartar sauce"
NOTES
Go to the first, previous, next, last section, table of contents.