Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

slist - create Metamorph set list

 

SYNOPSIS

<slist $intersect $values>


DESCRIPTION
The slist function returns the given list of values as one Metamorph query with $intersect intersections. Each value is double-quoted. If the list is empty, the returned list is empty too.

This function can be used to create a Metamorph query for markup using fmt (here).


DIAGNOSTICS
slist returns a Metamorph query for $intersect intersections of the values of $values.


EXAMPLE

<$list = "red" "blue" "violet">
<slist 1 $list>
<fmt "%mIH" $ret "Roses are red, not blue.">

The output would be:

Roses are <B>red</B>, not <B>blue</B>.

The query executed ($ret) was @1 "red" "blue" "violet".


CAVEATS
The slist function was added Sep. 10 1996.

The values of $values should not contain non-ASCII characters.


SEE ALSO
clist, Metamorph documentation


Copyright © Thunderstone Software     Last updated: Mon Feb 18 10:28:15 EST 2013
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2013 Thunderstone Software LLC. All rights reserved.