Glad to be of help

On 12/26/14 11:32 PM, Wayne Irvine wrote:
> Thanks for your work!
>
> Breaking it up into distinct (funny that) lines fixed the issue. Still
> not sure why though.
>
> <@ASSIGN NAME="blocktext" VALUE="<@LOWER STR='<@arg blocktext>'>"
> SCOPE="REQUEST">
>
> <@ASSIGN NAME="blocktext" VALUE='<@KEEP STR="@@blocktext" CHARS="
> abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_">'
> SCOPE=request>
>
> <@ASSIGN NAME="rawtagarray" VALUE="<@TOKENIZE STR='@@blocktext'
> CHARS=' '>" SCOPE="REQUEST">
> <@VAR rawtagarray>
>
> <@ASSIGN NAME="rawtagarray" VALUE="<@TRANSPOSE ARRAY='rawtagarray'>"
> SCOPE="REQUEST">
>
> <@ASSIGN NAME="tagarray" VALUE="<@DISTINCT ARRAY='rawtagarray'>"
> SCOPE="REQUEST">
>
> @@tagarray
>
> brown
> dog
> fox
> jumps
> lazy
> over
> quick
> the
>
>
> Nice!
>
> Wayne Irvine
>
>> On 27 Dec 2014, at 5:01 pm, ubslab <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Wayne,
>>
>> I tried to replicate the error using:
>>
>> <@ASSIGN NAME="rawtagarray" VALUE="<@TOKENIZE STR=' the quick brown fox
>> jumps over the lazy dog ' CHARS=' '>" SCOPE="REQUEST">
>> <@VAR rawtagarray>
>> <@ASSIGN NAME="tagarray" VALUE="<@TRANSPOSE ARRAY='rawtagarray'>"
>> SCOPE="REQUEST">
>> <@ASSIGN NAME="tagarray" VALUE="<@DISTINCT ARRAY='tagarray'>"
>> SCOPE="REQUEST">
>> <@ASSIGN NAME="tagarray" VALUE="<@TRANSPOSE ARRAY='tagarray'>"
>> SCOPE="REQUEST">
>> <@VAR tagarray>
>>
>> The error shows when the first transpose is is commented out.
>> So possibly rows vs columns for the @distinct?
>>
>>
>>
>> On 12/26/14 3:36 AM, Wayne Irvine wrote:
>>> Local and request are the same. Local is deprecated and I really
>>> should get in the habit of writing request.
>>>
>>>
>>>
>>>
>>>> On 26 Dec 2014, at 8:29 pm, ubslab <[email protected]
>>>> <mailto:[email protected]>> wrote:
>>>>
>>>> Wayne,
>>>>
>>>> In <@DISTINCT ARRAY='rawtagarray' SCOPE=local>  you are looking for
>>>> rawtagarray  in local scope.
>>>>
>>>> In <@ASSIGN NAME=rawtagarray VALUE="<@LOWER str='<@TRANSPOSE
>>>> ARRAY="<@TOKENIZE STR='<@KEEP STR="<@arg blocktext>" CHARS="
>>>> abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_">'
>>>> CHARS=' '>">'>">  unless you have changed server preferences the
>>>> default
>>>> scope assignment is likely to be request.
>>>>
>>>>
>>>>> On 12/25/14 9:17 PM, Wayne Irvine wrote:
>>>>> <@DISTINCT ARRAY='rawtagarray' SCOPE=local>
>>>>
>>>>
>>>>
>>>> ----------------------------------------
>>>>
>>>> To unsubscribe from this list, please send an email to
>>>> [email protected] <mailto:[email protected]> with
>>>> "unsubscribe terascript-talk" in the body.
>>>>
>>>
>>>
>>> ----------------------------------------
>>>
>>> To unsubscribe from this list, please send an email to
>>> [email protected] <mailto:[email protected]> with
>>> "unsubscribe terascript-talk" in the body.
>>>
>>
>>
>>
>>
>> ----------------------------------------
>>
>> To unsubscribe from this list, please send an email to
>> [email protected] <mailto:[email protected]> with
>> "unsubscribe terascript-talk" in the body.
>>
>
> 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] <mailto:[email protected]> with
> "unsubscribe terascript-talk" in the body.




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to