Re: [WebDNA] unique words

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103445
interpreted = N
texte = Woops, I noticed a bug right away. This is better, although I still won't promise it'll work without some tweaking: [ListWords Words=text with some repeated words with repeated words][!] [/!][ShowIf [index]=1][!] [/!][Text]usedwords=_[word]_[/Text][!] [/!][word] [!] [/!][/ShowIf][!] [/!][HideIf [usedwords]^_[word]_][!] [/!] [word][!] [/!][/HideIf][!] [/!][Text]usedwords=[usedwords]_[word]_[/Text][!] [/!][/ListWords] and: [ListWords Words=text with some repeated words with repeated words][!] [/!][ShowIf [index]=1][!] [/!][Text]usedwords=_[word_][/Text][!] [/!][/ShowIf][!] [/!][ShowIf [usedwords]^_[word]_][!] [/!][word] [!] [/!][/ShowIf][!] [/!][Text]usedwords=[usedwords]_[word]_[/Text][!] [/!][/ListWords] For a more compact script you can remove the [!] and [/!] but then you'd also have to remove all the line shifts in the script making it a it tricky to read and debug. Frank Nordberg http://www.musicaviva.com http://stores.ebay.com/Nordbergs-Music-Store?refid=store Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] unique words (William DeVaul 2009)
  2. Re: [WebDNA] unique words (System Administrator 2009)
  3. Re: [WebDNA] unique words (William DeVaul 2009)
  4. Re: [WebDNA] unique words (System Administrator 2009)
  5. Re: [WebDNA] unique words (William DeVaul 2009)
  6. Re: [WebDNA] unique words (System Administrator 2009)
  7. Re: [WebDNA] unique words (Frank Nordberg 2009)
  8. Re: [WebDNA] unique words (Frank Nordberg 2009)
  9. Re: [WebDNA] unique words (Kenneth Grome 2009)
  10. [WebDNA] unique words (System Administrator 2009)
Woops, I noticed a bug right away. This is better, although I still won't promise it'll work without some tweaking: [ListWords Words=text with some repeated words with repeated words][!] [/!][ShowIf [index]=1][!] [/!][text]usedwords=_[word]_[/Text][!] [/!][word] [!] [/!][/ShowIf][!] [/!][HideIf [usedwords]^_[word]_][!] [/!] [word][!] [/!][/HideIf][!] [/!][text]usedwords=[usedwords]_[word]_[/Text][!] [/!][/ListWords] and: [ListWords Words=text with some repeated words with repeated words][!] [/!][ShowIf [index]=1][!] [/!][text]usedwords=_[word_][/Text][!] [/!][/ShowIf][!] [/!][ShowIf [usedwords]^_[word]_][!] [/!][word] [!] [/!][/ShowIf][!] [/!][text]usedwords=[usedwords]_[word]_[/Text][!] [/!][/ListWords] For a more compact script you can remove the [!] and [/!] but then you'd also have to remove all the line shifts in the script making it a it tricky to read and debug. Frank Nordberg http://www.musicaviva.com http://stores.ebay.com/Nordbergs-Music-Store?refid=store Frank Nordberg

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

emailer w/F2 (1997) math on date? (1997) search/showif issues (2000) Hiding Email Addresses (2003) WebCatalog2 for NT Beta Request (1997) 2 easy questions re: [showif] and [sendmail] (1997) [WebDNA] [OT] economical reliable SSL certs? (2009) Sending E-mail (1997) Tab Charactor (1997) How does WebCatalog search the database? (1997) Conditional searching & displaying (1997) SetCookie / GetCookie Problem.... (2004) 2.0.1 new commands and contexts (1997) Anyone using unix? Having problems... (2000) A little syntax help (1997) 3+ Levels of Navigation (2006) Some Questions (1997) help needed: Non-english characters in WebCatalog (1997) Webcat+Webstar+Firesite - Encrypted Templates ? (2001) comparison to Lasso 6 or 7 (2004)