CS 3304: Comparative Languages
Data Types
[
Course Documents
] : [
Data Types
]
Previous
Contents
Next
Keyword Index
Array Subscript Types
What type(s) are allowed for defining array subscripts?
FORTRAN, C--int only
Pascal--any ordinal type (int, boolean, char, enum)
Ada--int or enum (including boolean and char)
Java--integer types only