NUMBER: различия между версиями
Перейти к навигации
Перейти к поиску
AtH (обсуждение | вклад) Нет описания правки |
AtH (обсуждение | вклад) Нет описания правки |
||
Строка 10: | Строка 10: | ||
conversion is not possible, an error condition exists. The | conversion is not possible, an error condition exists. The | ||
string may contain a preceding minus sign. | string may contain a preceding minus sign. | ||
== NUMBER в стандарте Forth-79 (англ.) == | |||
NUMBER addr -- n | |||
Convert the count and character string at addr, to a signed | |||
32-bit integer, using the current base. If numeric conversion | |||
is not possible, an error condition exists. The string may | |||
contain a preceding negative sign. | |||
Версия от 17:41, 7 сентября 2015
NUMBER — стандартное слово Каллисто.
Преобразует в число последовательность символов, начиная с a+1 с учётом BASE.
NUMBER в предыдущем стандарте Forth-83 (англ.)
NUMBER addr -- d Convert the count and character string at addr, to a signed 32-bit integer, using the value of BASE . If numeric conversion is not possible, an error condition exists. The string may contain a preceding minus sign.
NUMBER в стандарте Forth-79 (англ.)
NUMBER addr -- n Convert the count and character string at addr, to a signed 32-bit integer, using the current base. If numeric conversion is not possible, an error condition exists. The string may contain a preceding negative sign.
У этой статьи нет иллюстраций. Вы можете помочь проекту, добавив их. |
Это заготовка статьи. Вы можете помочь проекту, дополнив её. |