The less-than sign (<) is a reserved character. To use this character in a string, you must either enclose the whole string within escape sequences <[ and ]>, or use the ASCII code for the < character.$select_2 = "<[Select list.questions from list
where list.id < ]>" + $num;If $num=2, this gives the following result:Select list.questions from list where list.id < 2;$select_2 = "Select list.questions from list
where list.id <3c>" + $num;If $num=2, this gives the same result as above:Select list.questions from list where list.id < 2;
Example 33 Log (0, "<[Value < 5]>");
OpenText StreamServe 5.6 | Updated: 2013-03-01 |