Hi,

I just noticed that depending on whether I surround parameters by single or 
double quotes, I get different results.
Let's say I have a page some.nicepage with a data variable cat of value 
"normal,office". In thepage, I have the following content:
inlist=[if inlist list="{:cat}" find="normal"]true "+"[if]
inlist=[if inlist list='{:cat}' find="normal"]true '+"[if]
inlist=[if inlist list='{:cat}' find='normal']true '+'[if]
inlist=[if inlist list="{:cat}" find='normal']true "+'[if]
inlist=[if inlist list="{:cat}" find=normal]true "+[if]
inlist=[if inlist list='{:cat}' find=normal]true '+[if]
inlist=[if inlist list={:cat} find='normal']true +'[if]
inlist=[if inlist list={:cat} find="normal"]true +"[if]
inlist=[if inlist list={:cat} find=normal]true +[if]
equal=[if equal "{page}" "nicepage"]true "+"[if]
equal=[if equal "{page}" 'nicepage']true "+'[if]
equal=[if equal '{page}' 'nicepage']true '+'[if]
equal=[if equal '{page}' nicepage]true '+[if]
equal=[if equal "{page}" nicepage]true "+[if]
equal=[if equal '{page}' "nicepage"]true '+"[if]
equal=[if equal {page} "nicepage"]true +"[if]
equal=[if equal {page} 'nicepage']true +'[if]
equal=[if equal {page} nicepage]true +[if]
Then my output is:
inlist=
inlist=
inlist=true '+'
inlist=
inlist=
inlist=true '+
inlist=true +'
inlist=
inlist=true +
equal=true "+"
equal=
equal=true '+'
equal=true '+
equal=
equal=
equal=
equal=true +'
equal=true +
So far, I thought I could use any of these options (or at least any of them 
having the same type of quotes for both arguments) with the same result.
What strucks me is that inlist does not work with ", while equal does... Is 
there something I missed in the documentation, or is this a bug?

Cheers,
Tiffany

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/d/optout.

Reply via email to