Array model: Difference between revisions

Jump to navigation Jump to search
13 bytes removed ,  14:29, 17 October 2019
Miraheze>Marshall
(Prototypes)
Miraheze>Adám Brudzewsky
Line 43: Line 43:
=== Array prototypes ===
=== Array prototypes ===


''Main article: [[Array prototype]]''
{{Main|Array prototype}}


An empty array may carry additional information to indicate what type its elements would be, if it had any. In a language with homogeneous arrays, this is typically just the type: character, numeric, or boxed. In a nested array language, the prototype may be quite complex, containing an entire nested structure.
An empty array may carry additional information to indicate what type its elements would be, if it had any. In a language with homogeneous arrays, this is typically just the type: character, numeric, or boxed. In a nested array language, the prototype may be quite complex, containing an entire nested structure.

Navigation menu