Dear,

For ideas:
code:
$periode=Val(Substr(@time,1,2))
SELECT
CASE (12 <= $periode) AND ($periode <= 17)
? "Goedemiddag, @userid"
CASE (18 <= $periode) AND ($periode <= 23)
? "Goedenavond, @userid"
CASE 1
? "Goedemorgen, @userid"
ENDSELECT

greetings.

[ 08 July 2002, 13:53: Message edited by: MCA ]
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA