Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
21.09.2010, 09:25
|
|||
---|---|---|---|
|
|||
Нестандартное поведение 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" ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=44&mobile=1&tid=1607483]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
67ms |
get topic data: |
14ms |
get forum data: |
2ms |
get page messages: |
31ms |
get tp. blocked users: |
2ms |
others: | 27ms |
total: | 173ms |
0 / 0 |