[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] [if scratch...]
"Mat Jones - booksellersolutions.com" wrote:
>
> I was trouble shooting for 2 hours yesterday. I printed the value of scratch
> count1 to the page which was 30. When I replaced the [scratch count1] with
> a real number e.g [loop-alternate 30] instead of [loop-alternate [scratch
> count1]] it worked fine... just doesnt seem to like the [scratch] variables
> within loop alternate.
>
Interpolation order is catching you. You can't do what you're trying to
do. [loop-alternate [scratch foobar]] will try to evaluate the literal
string '[scratch foobar]' because the [loop-..] tags parse *completely*
first, then the resulting output is reparsed, at which point [scratch
foobar] would interpolate.
--
Mark Johnson
Senior Developer - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users