Re: New question on strings
- From: Andreas Leitgeb <avl@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 29 Feb 2008 17:20:09 GMT
Darren New <dnew@xxxxxxxxxx> wrote:
Bryan Oakley wrote:
foreach line <some set of data ...> {Until your set of data is empty.
if {<some criteria is met>} {
incr count(<some index>)
}
}
In which case [array size count] or [array names count]
will just return sensible values. That's the big advantage
of using arrays for that. And if it is being reused, a simple
[array unset count] does it.
.
- References:
- New question on strings
- From: mark
- Re: New question on strings
- From: mark
- Re: New question on strings
- From: Gerald W. Lester
- Re: New question on strings
- From: tom.rmadilo
- Re: New question on strings
- From: Neil Madden
- Re: New question on strings
- From: tom.rmadilo
- Re: New question on strings
- From: Bryan Oakley
- Re: New question on strings
- From: Darren New
- New question on strings
- Prev by Date: Re: Procedure for percent of a value
- Next by Date: Re: Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- Previous by thread: Re: New question on strings
- Next by thread: Re: New question on strings
- Index(es):
Relevant Pages
|