At first, I thought the problem was with the WAIT WINDOW, and that the WAIT WINDOW would give similar errors with other functions that have zero parameters, but it is difficult to find one, that also returns a character expression. With a UDF() with no parameter, it works without a problem.
>I thought.. let me make others at least aware of its existence. I have sent MS a bug report as tiny as this initial message. That should be enough effort. ;)
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)