spamsink: (Default)
[personal profile] spamsink posting in [community profile] besm6
Программа
   1.   _BEGIN
   2.  _PROCEDURE POP(Q); _PROCEDURE Q;
   3.  _BEGIN Q(3); _END;
   4.
   5.  _PROCEDURE PIP(A); _LABEL A;
   6.  _BEGIN _GOTO A; _END;
   7.
   8.  _PROCEDURE PAP(B); _INTEGER B;
   9.  _BEGIN OUTPUT(‘T’, ‘INTEGER ’, ‘ZD’, B) _END;
  10.
  11.  POP(PAP);
  12.  _IF _FALSE _THEN 3: OUTPUT(‘T’, ‘ LABEL 3’) _ELSE POP(PIP);
  13.  _END

компилируется и работает, печатая

          INTEGER 3 LABEL 3
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

Сообщество любителей БЭСМ-6

December 2025

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
282930 31   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 14th, 2026 05:59 pm
Powered by Dreamwidth Studios