Next: insert-file - insert the contents of a (list of) files., Previous: get-up-name - get upper cased named value, mapped to C name syntax, Up: AutoGen Scheme Functions [Contents][Index]
Usage: (high-lim ag-name)
Returns the highest index associated with an array of definitions.
This is generally, but not necessarily, one less than the
count
value. (The indexes may be specified, rendering a
non-zero based or sparse array of values.)
This is very useful for specifying the size of a zero-based array of values where not all values are present. For example:
tMyStruct myVals[ [+ (+ 1 (high-lim "my-val-list")) +] ];
Arguments:
ag-name - name of AutoGen value