Map
Index
Random
Help
th

Quote: type checking can catch inappropriate indexing of arrays; like units; e.g., ArrayIndex h, ColumnIndex i, and RowIndex j

topics > all references > references t-z > QuoteRef: weihK9_2002 , p. 32



Topic:
arrays
Group:
type checking
Topic:
units

Quotation Skeleton

[If you declare types for ArrayIndex h, ColumnIndex i, and RowIndex j, then type checking can catch inappropriate indexing. For example] M[i][j]=A[h]; //Fine M[i][i]=A[h]; //Error: // Wrong type … [p. 36] This concept has an interesting analogy in … You learn in school that a physical formula …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: arrays (57 items)
Group: type checking   (12 topics, 385 quotes)
Topic: units (23 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.