Manipulate
- To: mathgroup at smc.vnet.net
 - Subject: [mg86182] Manipulate
 - From: N K <nk200810 at yahoo.com>
 - Date: Wed, 5 Mar 2008 03:39:09 -0500 (EST)
 
Hi,
I just have started using Mathematica and was working on the Manipulate function.  I have the following piece of code:
Manipulate[
 Print[value],
 {value, 1, 10, 1, ControlType -> Animator}
 ]
which seems to work just fine. However, if I add the following line to it, it does not quite work. 
lst = {};
Manipulate[
 lst = Append[lst, value];
 Print[value],
  {value, 1, 10, 1, ControlType -> Animator}
 ]
The values that are being printed for "value" are really weird and incorrect. 
Any suggestions on what I have done wrong? 
Thanks very much,