Re: lappend
- From: Mark Janssen <mpc.janssen@xxxxxxxxx>
- Date: Wed, 2 Mar 2011 14:01:33 -0800 (PST)
On Mar 2, 4:20 pm, Robert Heller <hel...@xxxxxxxxxxxx> wrote:
At Wed, 2 Mar 2011 05:37:46 -0800 (PST) skyworld <chenyong20...@xxxxxxxxx> wrote:<snip>
Hi,
I wrote a program as this:
set my_result ""
First mistake (although minor):
Try this instead:
set my_result [list]
How is that even a minor mistake? The result of [list] is "". If the
idea is to indicate that my_result is a list then I think this is the
wrong way to do it. As EIAS the intention is much clearer (throughout
the code) by an appropriate variable name (such as waiting_list).
Mark
.
- Follow-Ups:
- Re: lappend
- From: Robert Heller
- Re: lappend
- References:
- lappend
- From: skyworld
- Re: lappend
- From: Robert Heller
- lappend
- Prev by Date: Re: tablelist tile changing appearance not working
- Next by Date: Re: lappend
- Previous by thread: Re: lappend
- Next by thread: Re: lappend
- Index(es):