opDollar

Alix Pexton _a_l_i_x_._p_e_x_t_o_n_ at _g_m_a_i_l_._c_o_m_
Fri Sep 12 03:12:09 PDT 2008


Sclytrack wrote:
>>> Ok, so you want to change the meaning of $ altogether from being a
>>> number to something container dependent?
>> Also, even when $ is a number, it isn't the index of the "end" node or
>> the "last" element. It's the index *after* the last element.
>> I think only "length" or "size" are accurate.
> 
> 
> 	size is the size in bytes
> 	length is the number of elements
> 	norm is the length, darn.

I like the sound of opTerminus as the function behind $

^^

A...


More information about the Digitalmars-d-announce mailing list