| View previous topic :: View next topic |
| Author |
Message |
dokueki Voice
Joined: 28 Apr 2007 Posts: 31 Location: Bat Yam, Israel
|
Posted: Sat Jun 23, 2007 5:14 am Post subject: Binding from a list |
|
|
Hey. I want to define a list of keywords (example 'set keywords "kw txt keyword morekeywords"') and bind for each keyword in the list (bind kw, bind txt, bind keyword, etc)
How would I go upon doing this? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Jun 23, 2007 9:32 am Post subject: |
|
|
foreach word $wordlist {bind type flags $word procname}
Something like that.. I'll let it up to you to read the FAQ about how to read/write files to create your list. |
|
| Back to top |
|
 |
dokueki Voice
Joined: 28 Apr 2007 Posts: 31 Location: Bat Yam, Israel
|
Posted: Sat Jun 23, 2007 10:17 am Post subject: |
|
|
| Thank you! I tried foreach but I got the syntax wrong ^_^;; XD |
|
| Back to top |
|
 |
|