<div dir="auto"><div>There is a implementation of pascal called freepascal at <a href="http://freepascal.org">freepascal.org</a></div><div dir="auto">//Pär <br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">Den 8 feb. 2018 14:45 skrev "Dan Gahlinger" <<a href="mailto:dgahling@hotmail.com">dgahling@hotmail.com</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div id="m_7596738470842834817compose-container" style="direction:ltr">
<span><span></span></span>
<div>
<div>
<div style="direction:ltr">Seems it was because I couldn’t figure out about needing to define output in the program line</div>
<div style="direction:ltr">Turbo pascal doesn’t use that</div>
<div><br>
</div>
<div style="direction:ltr">I’m going to test some simpler code I have and see if I can get it going and go from there</div>
</div>
<div><br>
</div>
<div class="m_7596738470842834817acompli_signature">Get <a href="https://aka.ms/o0ukef" target="_blank">Outlook for iOS</a></div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_7596738470842834817divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Simh <<a href="mailto:simh-bounces@trailing-edge.com" target="_blank">simh-bounces@trailing-edge.<wbr>com</a>> on behalf of Gary Lee Phillips <<a href="mailto:tivo.overo@gmail.com" target="_blank">tivo.overo@gmail.com</a>><br>
<b>Sent:</b> Thursday, February 8, 2018 8:19:20 AM<br>
<b>To:</b> Tim Shoppa<br>
<b>Cc:</b> <a href="mailto:simh@trailing-edge.com" target="_blank">simh@trailing-edge.com</a><br>
<b>Subject:</b> Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal?</font>
<div> </div>
</div><div class="elided-text">
<div>
<div dir="ltr">
<div>
<div>It could, but the error message should make that clear. If the compiler rejects the syntax that's a different message from a linkage error.<br>
<br>
</div>
I wrote working system code in VAX Pascal but it was back in the 80s. Some of my work was accepted for publication in fact. I also did some substantial work in Turbo Pascal at about that time. But to be honest, I haven't touched Pascal for years now. Even so,
 I do know that VMS Pascal will support the language standards just as it always did. The problem with writeln is likely to be non-standard syntax, as Turbo Pascal accepted a lot of short cuts. I suspect the big issues with the project in question are more
 likely going to be related to graphics.<br>
<br>
</div>
--Gary<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 8, 2018 at 7:10 AM, Tim Shoppa <span dir="ltr">
<<a href="mailto:tshoppa@gmail.com" target="_blank">tshoppa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Could the writeln issue, be a link time and not compile time? I remember having to specify the Pascal runtime libraries (more than one?) at link time.<br>
<br>
Tim<br>
<div>
<div class="m_7596738470842834817h5"><br>
> On Feb 8, 2018, at 7:51 AM, Gary Lee Phillips <<a href="mailto:tivo.overo@gmail.com" target="_blank">tivo.overo@gmail.com</a>> wrote:<br>
><br>
> VMS Pascal conforms to the language standards. So does Turbo Pascal, if the code is written to standard.<br>
><br>
> The problem with porting in Pascal comes when language extensions are used. These are often proprietary and/or hardware specific. On OpenVMS much of the extended capability depends on calling system libraries, all of which are supported. Turbo Pascal was
 designed specifically for the IBM PC and "compatible" systems, and contains a lot of proprietary extensions that will not be recognized by VMS Pascal's compiler.<br>
><br>
> If your code depends on graphic functions, the ones in Turbo Pascal are almost entirely peculiar to that environment and will require a lot of rewriting. These use custom libraries that come with the compiler, and probably most can be duplicated by using
 OpenVMS system calls in some format. Some analysis will be required to identify the hardware specific code and select appropriate substitutions.<br>
><br>
> As for "free pascal" there are several incompatible implementations that go by the name, so I'm not sure what you have used. However, all of them pretty much support the original language definition and code that stays within that standard definition will
 work without translation. Extensions that use library calls or custom units are going to be the area that requires (possibly a lot of) work.<br>
><br>
> The full VMS Pascal manuals are available in PDF form online and you should begin there.<br>
><br>
> By the way, VMS Pascal definitely supports writeln. It also has record structures, etc. Those are all part of the standard language definition. We'd need to see a sample of your code that doesn't work in order to figure out where your problem comes from.<br>
><br>
</div>
</div>
> ______________________________<wbr>_________________<br>
> Simh mailing list<br>
> <a href="mailto:Simh@trailing-edge.com" target="_blank">Simh@trailing-edge.com</a><br>
> <a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">
http://mailman.trailing-edge.c<wbr>om/mailman/listinfo/simh</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div>

<br>______________________________<wbr>_________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.<wbr>com/mailman/listinfo/simh</a><br></blockquote></div><br></div></div></div>