⟩IN: различия между версиями

Материал из ПМК вики
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 14: Строка 14:
       >IN          -- addr                      U,79          "to-in"
       >IN          -- addr                      U,79          "to-in"
           The address of a variable which contains the present
           The address of a variable which contains the present
           character offset within the input stream {{0..the number of
           character offset within the input stream {0..the number of
           characters in the input stream}}.  See:  WORD
           characters in the input stream}.  See:  WORD




Строка 21: Строка 21:
  >IN            -- addr                      U,201          "to-in"
  >IN            -- addr                      U,201          "to-in"
     Leave  the  address of a variable which contains  the  present
     Leave  the  address of a variable which contains  the  present
     character offset within the input stream {{0..1023}}
     character offset within the input stream {0..1023}
     See:  WORD  (  ."  FIND
     See:  WORD  (  ."  FIND



Версия от 21:13, 7 сентября 2015

>IN — стандартное слово Каллисто.

Переменная, смещение очередной литеры во входном текстовом буфере или экране.


>IN в стандарте ANS Forth

6.1.0560   >IN                                "to-in"                      CORE
           ( -- a-addr )
           a-addr - адрес ячейки, содержащей смещение в символах от начала 
           входного буфера до начала области анализа.


>IN в предыдущем стандарте Forth-83 (англ.)

     >IN          -- addr                       U,79           "to-in"
          The address of a variable which contains the present
          character offset within the input stream {0..the number of
          characters in the input stream}.  See:  WORD


>IN в стандарте Forth-79 (англ.)

>IN            -- addr                       U,201          "to-in"
    Leave  the  address of a variable which contains  the  present
    character offset within the input stream {0..1023}
    See:  WORD  (  ."  FIND


IN в fig-FORTH Release 1 glossary, май 1979 (англ.)

IN            ---  addr                        L0
       A user variable containing the byte offset within the current input
       text buffer (terminal or disc) from which the next text will be
       accepted. WORD uses and moves the value of IN.


Ссылки


  У этой статьи нет иллюстраций. Вы можете помочь проекту, добавив их.


  Это заготовка статьи. Вы можете помочь проекту, дополнив её.