Новый PT4/PT4pabc.dll !!!

This commit is contained in:
Mikhalkovich Stanislav 2021-12-11 23:51:50 +03:00
parent 521895feb7
commit 989bdf0431
8 changed files with 27 additions and 6 deletions

View file

@ -15,7 +15,7 @@ internal static class RevisionClass
public const string Major = "3";
public const string Minor = "8";
public const string Build = "2";
public const string Revision = "3034";
public const string Revision = "3035";
public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;

View file

@ -1,4 +1,4 @@
%COREVERSION%=2
%REVISION%=3034
%MINOR%=8
%REVISION%=3035
%COREVERSION%=2
%MAJOR%=3

View file

@ -33,7 +33,8 @@
<code class="codeit">îïåðàòîðû</code><br><b>end</b>.</code> </p>
</blockquote>
<p>Ïåðâàÿ ñòðîêà íàçûâàåòñÿ <i><b><font color="#FF0000">çàãîëîâêîì ïðîãðàììû</font></b></i> è íå ÿâëÿåòñÿ
обязательной.</p>
обязательной. В <strong>PascalABC.NET</strong> использование заголовка программы
считается устаревшим.</p>
<p><a href="../Modules/uses.html">Ðàçäåë
<code>
<b>uses</b></code></a>
@ -80,6 +81,26 @@ uses</strong></span>,
</b>&nbsp; <strong>var</strong> x := 100;<br>&nbsp; <strong>var</strong> y :=
100;<br>&nbsp; <strong>var</strong> r := 50;<br>&nbsp; Circle(x,y,r);<br>
<b>end</b>.</code></blockquote>
<p>Кроме того, имеется возможность записывать программы без внешнего begin-end.
Для этого в начале программы используется префикc ##:</p>
<blockquote>
<code>##<b><br>
</b><strong>var</strong> a := ArrRandomInteger(10);<br>a.Println;</code></blockquote>
<p>Такой режим называется командным и предназначен для написания коротких
программ из нескольких команд. В данном режиме разрешено использовать одну
секцию uses и описывать процедуры и функции:</p>
<blockquote>
<code>
<div class="language-pascal highlighter-rouge">
<div class="highlight">
<pre class="highlight"><span class="p">##
<strong>uses</strong> GraphWPF;</span>
<span class="k"><strong>function</strong></span> <span class="n">Draw</span><span class="p">(</span><span class="n">x</span><span class="p">,</span><span class="n">y</span><span class="p">:</span> real<span class="p">)</span> <span class="p">:=</span> Circle(x,y,5)<span class="p">;</span>
<span class="p">Draw(100,100);</span></pre>
</div>
</div>
</code></blockquote>
<p>&nbsp;</p>
</body>
</html>

View file

@ -1 +1 @@
3.8.2.3034
3.8.2.3035

Binary file not shown.

View file

@ -1 +1 @@
!define VERSION '3.8.2.3034'
!define VERSION '3.8.2.3035'

Binary file not shown.

Binary file not shown.