<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Compile in Pascal]]></title><description><![CDATA[<p dir="auto">hello there:<br />
thanks for reading this. i am new in this of programming and in my classroom uses the free pascal or turbo pascal, but, how have problems with compatibility issues like win10 desn’t suport turbo pascal, etc i think in notepad++. my question starts here, how i compile and run the code just was write? thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14393/compile-in-pascal</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 09:20:01 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14393.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Aug 2017 04:05:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compile in Pascal on Wed, 30 Aug 2017 13:13:31 GMT]]></title><description><![CDATA[<p dir="auto">This is not a coding help forum.  So, assuming you knew that, and are asking how to help automate the process of compiling and running from within Notepad++…</p>
<p dir="auto">There are multiple ways to automate tasks like that.  In the examples below, you will have to replace the “c:\path\to\pascal\compiler.exe” with the appropriate compiler and supply appropriate command-line arguments if it requires more than just the source code.</p>
<ol>
<li>
<p dir="auto">Using Notepad++ <code>Run &gt; Run</code>, type a command similar to</p>
<pre><code> cmd /k "c:\path\to\pascal\compiler.exe ^"$(FULL_CURRENT_PATH)^" &amp;&amp; ^"$(CURRENT_DIRECTORY)\$(NAME_PART).exe^""
</code></pre>
<p dir="auto">You can hit the SAVE button to put it in the <code>Macro</code> menu, and optionally give it a keyboard shortcut</p>
</li>
<li>
<p dir="auto">Using the <a href="http://downloads.sourceforge.net/project/npp-plugins/" rel="nofollow ugc">NppExec</a> plugin, there are a few ways:</p>
<ol>
<li>
<p dir="auto">Output to an “NppExec Console” sub-window inside the main Notepad++ window:</p>
<p dir="auto">Select <code>Plugins &gt; NppExec &gt; Execute...</code>, and use the command</p>
<pre><code> cd "$(CURRENT_DIRECTORY)"
 "c:\path\to\pascal\compiler.exe" "$(FULL_CURRENT_PATH)"
 "$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
</code></pre>
</li>
<li>
<p dir="auto">Output to an “NppExec Console” sub-window inside the main Notepad++ window, keeping a <code>cmd.exe</code> prompt active in that window:</p>
<p dir="auto">Select <code>Plugins &gt; NppExec &gt; Execute...</code>, and use the command</p>
<pre><code> cd "$(CURRENT_DIRECTORY)"
 "c:\path\to\pascal\compiler.exe" "$(FULL_CURRENT_PATH)"
 cmd /k "$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
</code></pre>
</li>
<li>
<p dir="auto">Output to a separate <code>cmd.exe</code> window:</p>
<p dir="auto">Select <code>Plugins &gt; NppExec &gt; Execute...</code>, and use the command</p>
<pre><code> cd "$(CURRENT_DIRECTORY)"
 npp_run cmd /k "c:\path\to\pascal\compiler.exe ^"$(FULL_CURRENT_PATH)^" &amp;&amp; ^"$(CURRENT_DIRECTORY)\$(NAME_PART).exe^""
</code></pre>
</li>
</ol>
</li>
<li>
<p dir="auto">There’s probably a way to do it with the <a href="http://sourceforge.net/projects/npppythonscript/files/Python%20Script%201.0.8.0/PythonScript_1.0.8.0.msi/download" rel="nofollow ugc">PythonScript plugin</a> as well</p>
</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/26531</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/26531</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 30 Aug 2017 13:13:31 GMT</pubDate></item></channel></rss>