|
Latent Apprentice
Joined: 19 Aug 2002 Posts: 120 Location: USA
|
Posted: Thu Jul 10, 2003 1:57 am
list? |
can you store a list in a variable? and if so, whats the command to do so
|
|
|
|
Amfitrion Wanderer
Joined: 29 Sep 2001 Posts: 75 Location: Israel
|
Posted: Thu Jul 10, 2003 2:56 am |
It is just an ordinary variable.
Read help about #additem, #delitem, etc. |
|
|
|
Siddha Beginner
Joined: 07 Jul 2003 Posts: 15
|
Posted: Fri Jul 11, 2003 4:26 pm |
pattern: (%x) came from west.
command:
example = %additem(%1, @example);
#echo Example: @example;
example = %additem(%1, @example);
#echo Example: @example;
Freddy came from west.
Output:
Example: Freddy
Example: Freddy|Freddy
if u are working with different lang (not english;))
strange thing happening, program is writing down spaces as a first word,
Example: Freddy
Example: |Freddy|Freddy
something like this;)
Although it's possible to create this list "by hand";)
pattern: (%x) came from west.
command:
example = |;
#echo Example: @example;
#add example(%1|);
#echo Example: @example;
#add example(|%1|)
Freddy came from west.
Output:
Example: |Freddy
Example: |Freddy|Freddy|
etc/
P.S> Possibly it could be some mistakes, so for ur part. problem u have to debug code:) |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|