{"id":220365,"date":"2014-06-05T12:35:03","date_gmt":"2014-06-05T08:35:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=220365"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=220365","title":{"rendered":"<span class=\"post_title\">FORTH: \u0421\u0430\u043c\u043e\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u043b\u043e\u0432\u0430<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u041f\u0443\u0441\u0442\u044c \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0424\u043e\u0440\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043e\u0434\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445. <br \/>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: x, y, z, x&#8217;, y&#8217;, z&#8217;, x&#187;, y&#187;, z&#187;, s, m \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435\u2026<br \/>  \u0414\u043b\u044f \u0438\u0445 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0432\u044b\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u043e VARIABLE, \u0430 \u044d\u0442\u043e \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u043e, \u0443\u043d\u044b\u043b\u043e \u0438 \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u043e. \u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u043a\u0430\u043a-\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u0432\u0435\u0441\u0435\u043b\u0435\u0435?<br \/>  \u0423\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438 \u0432\u044b\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0445 \u0438\u043c\u0435\u043d\u0430. <br \/>  \u0427\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435:  <\/p>\n<blockquote>\n<pre> VARIABLES:   x   y   z     x'  y'  z'   x'' y'' z''   s   m ;VARIABLES <\/pre>\n<\/blockquote>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0412\u0441\u043f\u043e\u043c\u043d\u0438\u043c, \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440 \u044f\u0437\u044b\u043a\u0430 \u0424\u043e\u0440\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432 SP-Forth, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0441\u043b\u043e\u0432\u043e \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u0435 \u0438\u0449\u0435\u0442 \u0432 \u0442\u043e\u043c \u0436\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u0435 \u0441\u043b\u043e\u0432\u043e NOTFOUND, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u0442. \u0412\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 NOTFOUND \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0430\u0434\u0440\u0435\u0441 \u0438 \u0441\u0447\u0435\u0442\u0447\u0438\u043a \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430. \u0417\u043d\u0430\u0447\u0438\u0442, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c NOTFOUND \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u043e \u0434\u0435\u043b\u0430\u043b\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e.<\/p>\n<p>  \u0427\u0442\u043e \u0436\u0435 \u043d\u0443\u0436\u043d\u043e?<br \/>   \u0412\u0437\u044f\u0442\u044c \u044d\u0442\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e. \u041d\u0430\u043f\u043e\u043c\u043d\u044e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435  <\/p>\n<blockquote>\n<pre>  : VARIABLE     CREATE 0 ,  ; <\/pre>\n<\/blockquote>\n<p>  \u041d\u043e \u0441\u043b\u043e\u0432\u043e CREATE \u0441\u0430\u043c\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u043e, \u0430 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e \u0438\u0437 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u0438 \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u043e\u043c \u043d\u0430 \u0441\u0442\u0435\u043a\u0435. \u0411\u043b\u0430\u0433\u043e \u043d\u0430 \u0442\u0430\u043a\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0435\u0441\u0442\u044c \u0441\u043b\u043e\u0432\u043e CREATED, \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0435\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438 \u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043e \u0441\u0442\u0435\u043a\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043e\u043d\u043e, \u043a\u0430\u043a \u0438 NOTFOUND, \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 ANSI-94 \u043d\u0430\u0431\u043e\u0440 \u0441\u043b\u043e\u0432. <br \/>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c   <\/p>\n<blockquote>\n<pre> : NOTFOUND  (addr u -- )    CREATED 0 , ;  <\/pre>\n<\/blockquote>\n<p>  \u041d\u043e, \u0435\u0441\u043b\u0438 \u043c\u044b \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u0442\u0430\u043a\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a FORTH, \u0442\u043e \u043b\u0438\u0448\u0438\u043c\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u0430. \u0417\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u0434\u043e \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043d\u043e\u0432\u044b\u0439 NOTFOUND \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0438\u043d\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442. \u0417\u0430\u0432\u0435\u0434\u0435\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u044c variables.  <\/p>\n<blockquote>\n<pre> VOCABULARY variables  <\/pre>\n<\/blockquote>\n<p>  \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u0442\u0435\u043a\u0443\u0449\u0438\u043c.  <\/p>\n<blockquote>\n<pre> ALSO variables DEFINITIONS <\/pre>\n<\/blockquote>\n<p>  \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u0442\u0443\u0434\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 NOTFOUND<\/p>\n<p>  \u0432\u0435\u0440\u043d\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442  <\/p>\n<blockquote>\n<pre> PREVIOUS DEFINITIONS <\/pre>\n<\/blockquote>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u043b\u043e\u0432\u043e VARIABLES: \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043d\u0430 variables \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u043c NOTFOUND  <\/p>\n<blockquote>\n<pre> : VARIABLES:     ALSO variables ; <\/pre>\n<\/blockquote>\n<p>  \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u043e ;VARIABLES \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442. \u041d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 variables.<\/p>\n<p>  \u0422\u043e-\u0435\u0441\u0442\u044c, \u0438\u0442\u043e\u0433\u043e:  <\/p>\n<blockquote>\n<pre> VOCABULARY variables  ALSO variables DEFINITIONS  : NOTFOUND  (addr u -- )    CREATED 0 , ;  : ;VARIABLES     PREVIOUS ;   PREVIOUS DEFINITIONS  : VARIABLES:     ALSO variables ; <\/pre>\n<\/blockquote>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a, \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0432 \u0447\u0435\u0442\u044b\u0440\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u043c\u044b \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440 SP-Forth \u0438 \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u043b\u0438 \u0441\u0435\u0431\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445. <br \/>  \u041d\u043e \u0432\u0435\u0434\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u0434\u043b\u044f VALUE-\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442, \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043b\u044e\u0431\u044b\u0445 \u0441\u043b\u043e\u0432 \u0441 \u043e\u0431\u0449\u0435\u0439 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u043a\u043e\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0422\u0435\u0445 \u0441\u043b\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0441\u043b\u043e\u0432\u0430. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u043f\u0430\u0440\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u0445 \u0441\u043b\u043e\u0432. \u041e\u0434\u043d\u043e \u0434\u043b\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f, \u0438 \u043f\u0430\u0440\u043d\u043e\u0435 \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0433\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0434\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u044b \u0441\u043b\u043e\u0432 \u0441 \u043e\u0431\u0449\u0435\u0439 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u043a\u043e\u0439. \u0418 \u0443\u0434\u043e\u0431\u043d\u043e \u0435\u0441\u043b\u0438 \u044d\u0442\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u043d\u0435 \u0440\u0430\u0437\u043c\u0430\u0437\u0430\u043d\u044b \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443, \u0430 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u0431\u043b\u043e\u043a\u0435. <\/p>\n<p>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0434\u043b\u044f VALUE-\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445.  <\/p>\n<blockquote>\n<pre> VOCABULARY values ALSO values DEFINITIONS : NOTFOUND   ... <\/pre>\n<\/blockquote>\n<p>  \u0410 \u0432\u043e\u0442 \u0442\u0443\u0442 \u043c\u044b \u043d\u0430\u0442\u044b\u043a\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0441\u0442\u044c. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u043e VALUE \u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0447\u0435\u0440\u0435\u0437 CREATE. \u041e\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0442\u0430\u043a:  <\/p>\n<blockquote>\n<pre> : VALUE          HEADER        ['] _CONSTANT-CODE COMPILE, ,        ['] _TOVALUE-CODE COMPILE, ; <\/pre>\n<\/blockquote>\n<p>  \u041d\u0430 \u0441\u0447\u0430\u0441\u0442\u044c\u0435 \u0441\u043b\u043e\u0432\u0443 HEADER, \u0431\u0435\u0440\u0443\u0449\u0435\u043c\u0443 \u0441\u0442\u0440\u043e\u043a\u0443 \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0441\u043b\u043e\u0432\u0430 SHEADER, \u0441\u0438\u043d\u043e\u043d\u0438\u043c\u0438\u0447\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0443 CREATED.<br \/>  \u041f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u043e\u0434\u043d\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u043b\u043e\u0432\u0430.  <\/p>\n<blockquote>\n<pre> : VALUED  ( n addr u --- )       SHEADER       ['] _CONSTANT-CODE COMPILE, ,       ['] _TOVALUE-CODE COMPILE, ; <\/pre>\n<\/blockquote>\n<p>  \u0418\u0442\u0430\u043a:  <\/p>\n<blockquote>\n<pre> VOCABULARY values ALSO values DEFINITIONS  : ;VALUES   PREVIOUS DROP ; : NOTFOUND   VALUED 0 ;  PREVIOUS DEFINITIONS     : VALUES:  ALSO values 0 ; <\/pre>\n<\/blockquote>\n<p>  \u041d\u043e \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0434\u0438\u043d \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a. \u0412\u0441\u0435 VALUE \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043d\u0443\u043b\u0435\u043c. \u0411\u044b\u043b\u043e \u0431\u044b \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0443\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u044c \u044d\u0442\u043e.<br \/>  \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e.<br \/>  \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e  <\/p>\n<blockquote>\n<pre> VALUES:   11 aa      22 bb    33 cc ;VALUES <\/pre>\n<\/blockquote>\n<p>  \u042d\u0442\u043e \u043d\u0435\u0443\u0434\u043e\u0431\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u043e.<\/p>\n<p>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a:  <\/p>\n<blockquote>\n<pre> VALUES:    aa = 11    bb = 22    cc = 33  ;VALUES <\/pre>\n<\/blockquote>\n<p>  \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0440\u0430\u0441\u0438\u0432\u043e. <\/p>\n<p>  \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0441\u043b\u043e\u0432\u043e \u00ab\u0440\u0430\u0432\u043d\u043e\u00bb \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 values. \u041e\u0434\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u043e \u0438 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a \u0447\u0438\u0441\u043b\u043e. \u0422\u043e-\u0435\u0441\u0442\u044c \u0431\u044b\u0442\u044c \u043f\u043e\u0447\u0442\u0438 \u0441\u0438\u043d\u043e\u043d\u0438\u043c\u043e\u043c LITERAL. \u0415\u0449\u0435 \u00ab\u0440\u0430\u0432\u043d\u043e\u00bb \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 VALUE-\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439. <\/p>\n<p>  \u041f\u0438\u0448\u0435\u043c  <\/p>\n<blockquote>\n<pre> VOCABULARY values ALSO values DEFINITIONS  : ;VALUES    PREVIOUS DROP ; : =          BL WORD ?LITERAL    LATEST NAME&gt; 9 + EXECUTE ; : NOTFOUND   VALUED  0 ;  PREVIOUS DEFINITIONS     : VALUES:  ALSO values  0 ; <\/pre>\n<\/blockquote>\n<p>  \u0422\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442  <\/p>\n<blockquote>\n<pre> VALUES:   11 TO aa      22 TO bb    33 TO cc ;VALUES <\/pre>\n<\/blockquote>\n<p> \u0426\u0435\u043d\u0435\u043d \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0435 \u0432\u044b\u043f\u0430\u0434\u0430\u0435\u0442 \u0438\u0437 \u043f\u0430\u0440\u0430\u0434\u0438\u0433\u043c\u044b \u044f\u0437\u044b\u043a\u0430, \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c VALUE-\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438.  <\/p>\n<blockquote>\n<pre> VALUES:        11    TO aa      22 1980 *  TO bb    aa   bb +  TO cc ;VALUES <\/pre>\n<\/blockquote>\n<p>  \u0414\u043b\u044f \u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c NOTFOUND. \u0411\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043c\u044b\u0441\u043b \u0441\u043b\u043e\u0432\u0430 TO. \u041c\u0435\u0436\u0434\u0443 \u0441\u043b\u043e\u0432\u0430\u043c\u0438-\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u0435\u043b\u044f\u043c\u0438 VALUES: ;VALUES TO \u0434\u043e\u043b\u0436\u043d\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e\u0435 VALUE.   <\/p>\n<blockquote>\n<pre> VOCABULARY values ALSO values DEFINITIONS  : ;VALUES    PREVIOUS ; : TO   VALUE ;  PREVIOUS DEFINITIONS     : VALUES:  ALSO values  ; <\/pre>\n<\/blockquote>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442.  <\/p>\n<blockquote>\n<pre> CONSTANTS:        11    IS aa      22 1980 *  IS bb    aa   bb +  IS cc ;CONSTANTS <\/pre>\n<\/blockquote>\n<p>  \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430, \u0434\u0443\u043c\u0430\u044e, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430.<\/p>\n<p>  \u0412\u043e\u043e\u0431\u0449\u0435 \u044d\u0442\u043e\u0442 \u043f\u043e\u0445\u043e\u0434 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u0442\u0438\u043f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u0445 \u0441\u043b\u043e\u0432 \u2014 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u044b\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u0435 \u0441\u043b\u043e\u0432\u0430. \u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u0430, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u0449\u0435\u0439 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u043a\u043e\u0439. \u0413\u0440\u0443\u043f\u043f\u043e\u0432\u044b\u0435 \u043e\u0431\u043b\u0430\u0434\u0430\u044f \u0442\u0435\u043c \u0436\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043a\u043e\u043d\u0446\u0435\u043d\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0445 \u0441\u043b\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430. \u0427\u0442\u043e \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u043e \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u0435\u0433\u043e \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0435\u043d\u0438\u0435. <br \/>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c SP- SP-Forth \u043c\u043e\u0436\u0435\u0442 \u0441\u0442\u0430\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043b\u043e\u0432\u0430 WINAPI:. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 Winctl \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f WINAPI: \u0440\u0430\u0437\u0431\u0440\u043e\u0441\u0430\u043d\u044b \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0442\u0435\u043a\u0441\u0442\u0443, \u0447\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0431\u0430\u0440\u0434\u0430\u0447\u043d\u043e. <br \/>  \u041a\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442:  <\/p>\n<blockquote>\n<pre> WINAPIS:     LIB: USER32.DLL              PostQuitMessage              PostMessageA              SetActiveWindow     LIB: GDI32.DLL              CreateFontA              GetDeviceCaps              DeleteDC     LIB: COMCTL32.DLL              InitCommonControlsEx ;WINAPIS <\/pre>\n<\/blockquote>\n<p>  \u0427\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043f\u043e\u0434\u0433\u043b\u044f\u0434\u0438\u043c \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u0441\u043b\u043e\u0432\u043e WINAPI:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">spf_win_defwords.f<\/b><\/p>\n<div class=\"spoiler_text\">   <\/p>\n<blockquote>\n<pre> : __WIN:  ( params &quot;\u0418\u043c\u044f\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b&quot; &quot;\u0418\u043c\u044f\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438&quot; -- )   HERE &gt;R   0 , \\ address of winproc   0 , \\ address of library name   0 , \\ address of function name   , \\ # of parameters   IS-TEMP-WL 0=   IF     HERE WINAPLINK @ , WINAPLINK ! ( \u0441\u0432\u044f\u0437\u044c )   THEN   HERE DUP R@ CELL+ CELL+ !   PARSE-NAME CHARS HERE SWAP DUP ALLOT MOVE 0 C, \\ \u0438\u043c\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438   HERE DUP R&gt; CELL+ !   PARSE-NAME CHARS HERE SWAP DUP ALLOT MOVE 0 C, \\ \u0438\u043c\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438   LoadLibraryA DUP 0= IF -2009 THROW THEN \\ ABORT&quot; Library not found&quot;   GetProcAddress 0= IF -2010 THROW THEN \\ ABORT&quot; Procedure not found&quot; ;  : WINAPI: ( &quot;\u0418\u043c\u044f\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b&quot; &quot;\u0418\u043c\u044f\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438&quot; -- )   ( \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0438\u043c\u043f\u043e\u0440\u0442\u0430 WIN32-\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440.     \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0438\u043c\u044f &quot;\u0418\u043c\u044f\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b&quot;.     \u041f\u043e\u043b\u0435 address of winproc \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e     \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.     \u0414\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 &quot;\u0438\u043c\u043f\u043e\u0440\u0442\u043d\u043e\u0439&quot; \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b     \u043f\u043e\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0435\u043a \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u043c\u0443     \u0432 \u0421\u0438-\u0432\u044b\u0437\u043e\u0432\u0435 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438     \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043d\u0430 \u0441\u0442\u0435\u043a.   )   NEW-WINAPI?   IF HEADER   ELSE     -1     &gt;IN @  HEADER  &gt;IN !   THEN   ['] _WINAPI-CODE COMPILE,   __WIN: ; <\/pre>\n<\/blockquote>\n<p>  <\/div>\n<\/div>\n<p>  \u0421\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 DLL. \u0412 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043a\u043e\u0434 \u0432\u044b\u0437\u043e\u0432\u0430 WinAPI, \u0434\u0430\u043b\u0435\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u0437\u0430\u0442\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u0432 \u043d\u0435\u0439. \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0438 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b.<br \/>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043f\u043e\u0434 \u043d\u0430\u0448\u0438 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043b\u043e\u0432\u043e.<br \/>  ;WINAPIS \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442.<br \/>   LIB: \u2014 \u0432\u0432\u043e\u0434\u0438\u0442 \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u043e \u0438 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u0435\u0433\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0431\u0443\u0444\u0435\u0440\u0435. \u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0441 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0435\u0439.<br \/>  \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440.<\/p>\n<p>  \u0418\u0442\u0430\u043a:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">string to stack.f<\/b><\/p>\n<div class=\"spoiler_text\">  <\/p>\n<blockquote>\n<pre> SP@ VALUE spstore  : sp-save   SP@  TO spstore ; : sp-restore spstore  SP!  ; : s-allot  ( n bytes -- addr )   sp-save  spstore SWAP - ALIGNED DUP &gt;R  CELL- CELL- SP!   R&gt; ; : s-s      ( -- addr u )    NextWord 2&gt;R R@  s-allot DUP DUP R@ + 0!  2R&gt; &gt;R SWAP R@ CMOVE R&gt;  ; : s-free   spstore CELL+ SP! ; : 3DUP    2 PICK 2 PICK 2 PICK ; <\/pre>\n<\/blockquote>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">winapis.f<\/b><\/p>\n<div class=\"spoiler_text\">  <\/p>\n<blockquote>\n<pre> VOCABULARY winlibs ALSO winlibs DEFINITIONS  : ;WINAPIS  s-free  PREVIOUS   ;  : LIB:   ( -- addr u id )  s-free   s-s  CR OVER LoadLibraryA  DUP 0= IF -2009 THROW THEN   ;  : NOTFOUND ( addr u id addr u -- addr u id )            2&gt;R 3DUP 2R&gt;               2DUP SHEADER           ['] _WINAPI-CODE COMPILE,            HERE &gt;R             0 , \\ address of winproc           0 , \\ address of library name            0 , \\ address of function name           -1 , \\ # of parameters           IS-TEMP-WL 0=                      IF                         HERE WINAPLINK @ , WINAPLINK ! ( \u0441\u0432\u044f\u0437\u044c )                      THEN                HERE DUP R@ CELL+ CELL+ ! &gt;R                 CHARS HERE SWAP DUP ALLOT MOVE 0 C, R&gt; \\ \u0438\u043c\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438               HERE  R&gt; CELL+ !  2&gt;R                   CHARS HERE SWAP DUP ALLOT MOVE 0 C, 2R&gt;  \\ \u0438\u043c\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438                SWAP GetProcAddress 0= IF -2010 THROW THEN \\ ABORT&quot; Procedure not found&quot; ;   PREVIOUS DEFINITIONS  : WINAPIS:  sp-save 1 2 3 ALSO winlibs   ;   <\/pre>\n<\/blockquote>\n<p>  <\/div>\n<\/div>\n<p>        \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/220365\/\"> http:\/\/habrahabr.ru\/post\/220365\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u041f\u0443\u0441\u0442\u044c \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0424\u043e\u0440\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043e\u0434\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445. <br \/>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: x, y, z, x&#8217;, y&#8217;, z&#8217;, x&#187;, y&#187;, z&#187;, s, m \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435\u2026<br \/>  \u0414\u043b\u044f \u0438\u0445 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0432\u044b\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u043e VARIABLE, \u0430 \u044d\u0442\u043e \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u043e, \u0443\u043d\u044b\u043b\u043e \u0438 \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u043e. \u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u043a\u0430\u043a-\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u0432\u0435\u0441\u0435\u043b\u0435\u0435?<br \/>  \u0423\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438 \u0432\u044b\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0445 \u0438\u043c\u0435\u043d\u0430. <br \/>  \u0427\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435:  <\/p>\n<blockquote>\n<pre> VARIABLES:   x   y   z     x'  y'  z'   x'' y'' z''   s   m ;VARIABLES <\/pre>\n<\/blockquote>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-220365","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/220365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=220365"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/220365\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=220365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=220365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=220365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}