|
Нестандартное поведение FOR в SPL
|
|||
---|---|---|---|
#18+
The general form of the IDS SPL For loop is... Код: plaintext 1. 2. 3. 4. 5.
The STEP clause is optional. If it is not provided, the StepVal defaults to 1, unless StartVal > EndVal, in which case it defaults to -1 All this is documented in http://publib.boulder.ibm.com/infocenter/idshelp/v115/index.jsp?topic=/com.ibm.sqls.doc/ids_sqs_1326.htm&resultof=%22%66%6f%72%22%22%6c%6f%6f%70%22 Please alter the SQL syntax documentation to more clearly describe the behavior of the "FOR" statement when the left_expression is numerically greater than the right_expression. The documentation currently states: "The size of right_expression relative to left_expression determines if the range is stepped through by positive or negative increments." A suggested rewording is: "If the STEP clause is not provided, the increment_expr will default to 1, unless left_expression > right_expression, in which case it will default to -1" ... |
|||
:
Нравится:
Не нравится:
|
|||
21.09.2010, 09:25 |
|
|
start [/forum/topic.php?fid=44&tid=1607483]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
152ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
23ms |
get tp. blocked users: |
2ms |
others: | 29ms |
total: | 251ms |
0 / 0 |