| View previous topic :: View next topic |
| Author |
Message |
DoT_PiTcH Contributor

Joined: 07 Aug 2002 Posts: 85
|
Posted: Thu May 26, 2011 6:02 pm Post subject: List tasklist |
|
|
when i use LIST TASKLIST, log... it clears the list and just adds the tasklist
if i do LIST TASKLIST, 1
LIST ASSIGN, log, 1
it also clears the list
am i doing something wrong? |
|
| Back to top |
|
 |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Fri May 27, 2011 8:03 am Post subject: |
|
|
If you need to clear a table
you must use this command:
List clear,<table name>
hoping to understand what you need  |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Sun May 29, 2011 1:46 am Post subject: |
|
|
Well, both commands your using clear the list prior to processing the command.
Use something more like this.
| Code: |
list create,1
list create,2,sorted
list tasklist,1
list seek,1,0
repeat
list add,2,@item(1)
until @not(@next(1))
info @text(2)
|
Also note your application cannot see 64 bit executables if I'm not mistaken.
cnodnarb |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun May 29, 2011 2:51 pm Post subject: Re: List tasklist |
|
|
| DoT_PiTcH wrote: | when i use LIST TASKLIST, log... it clears the list and just adds the tasklist
if i do LIST TASKLIST, 1
LIST ASSIGN, log, 1
it also clears the list
am i doing something wrong? |
Use LIST APPEND,Log,1 |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Sun May 29, 2011 3:36 pm Post subject: |
|
|
Nice. It's amazing what you overlook sometimes. Thanks Aslan  |
|
| Back to top |
|
 |
|