The possible values of counter could be 1 0 or 1 5

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1, 0, or 1. 5--Variables that are not shared variables may have a subtype indication denoting a protected type. Examples: variable INDEX : INTEGER range 0 to 99 := 0 ; -- Initial value is determined by the initial value expression variable COUNT : POSITIVE ; -- Initial value is POSITIVE'LEFT; that is,1. variable MEMORY : BIT_MATRIX (0 to 7, 0 to 1023) ; -- Initial value is the aggregate of the initial values of each element 62 Copyright 2000, IEEE. All rights reserved. This is an unapproved IEEE Standards Draft, subject to change. Clause 4 LANGUAGE REFERENCE MANUAL IEEE Std P1076a-1999 2000/D3 shared variable Counter: SharedCounter; -- See 3.5.1 and 3.5.2 for the definitions of SharedCounter shared variable addend, augend, result: ComplexNumber; -- See 3.5.1 and 3.5.2 for the definition of ComplexNumber variable bit_stack: VariableSizeBitArray; -- See 3.5.1 and 3.5.2 for the definition of VariableSizeBitArray; File declarations A file declaration declares a file of the specified type. Such a file is an explicitly declared file. fil...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online