Having an issue with the @DISTINCT tag. I’ve used it before and I also remember having issues with it previously. Not sure if the bug was with me or it however.
I make an array: <@ASSIGN NAME=rawtagarray VALUE="<@LOWER str='<@TRANSPOSE ARRAY="<@TOKENIZE STR='<@KEEP STR="<@arg blocktext>" CHARS=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_">' CHARS=' '>">'>"> Which for the arg “The quick brown fox jumps over the lazy dog.” returns an array of 9 rows and 1 columns. the quick brown fox jumps over the lazy dog Two of the rows contains ‘the’. The problem occurs when I submit the array to the @DISTINCT function. <@ASSIGN name=tagarray VALUE="<@DISTINCT ARRAY='rawtagarray' SCOPE=local>”> Error An error occurred while processing your request: File: maketags.taf Position: BuildTagArray Class: Internal Main Error Number: -614 An array was expected as a parameter. In @DISTINCT, ARRAY attribute. Meta Stack Trace: Line Meta Tag 0001 <@DISTINCT ARRAY='rawtagarray' SCOPE=local> 0008 *The meta stack is interpreted top-to-bottom: the top line shows the inner metatag that caused the error. I have tried every option I can think of the the parameters. rawtagarray @@rawtagarray @@local$rawtagarrary with and without the optional SCOPE parameter. Bit stumped. Wayne Irvine w: http://www.byteserve.com.au/ p: +61 2 9960 6099 m: 0409 960 609 ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body.
