[Simh] anyone know how to convert/translate turbo pascal to vax pascal?

Bob Eager rde at tavi.co.uk
Thu Feb 8 04:42:45 EST 2018


I'm wondering if the Pascal source has picked up spurious characters
such as ^M on its travels.

On Thu, 8 Feb 2018 06:19:06 +0000
Dan Gahlinger <dgahling at hotmail.com> wrote:

> I found a hello world pascal example online for vms,
> so at least that much I can get working.
> 
> however, all the docs online are not so useful for programming itself.
> my code has input and output from the terminal and from files.
> the hello program uses: program hello(output);
> so not sure how to do in and out from the terminal.
> tried googling examples but no such luck beyond hello world.
> 
> it might be easier for me to port to vax basic, I used to be an
> expert at that, many moons ago.
> 
> Dan.
> ________________________________
> From: Simh <simh-bounces at trailing-edge.com> on behalf of Jon Elson
> <elson at pico-systems.com> Sent: February 7, 2018 9:25 PM
> To: simh at trailing-edge.com
> Subject: [Simh] anyone know how to convert/translate turbo pascal to
> vax pascal?
> 
> On 02/07/2018 05:57 PM, simh-request at trailing-edge.com wrote:
> > [Simh] anyone know how to convert/translate turbo pascal to
> >        vax     pascal?
> > Message-ID:
> >        <DM3PR16MB0813E13BB9F23F23569DB71AC9FC0 at DM3PR16MB0813.namprd16.prod.outlook.com>
> >
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > since I did all that work recreating "castle" from the vax to the pc
> > using turbo pascal (then free pascal)
> > I'd like to "port" it back to the vax,
> > but the vms 7.3 pascal compiler doesn't recognize "writeln"
> > and I suspect things like types and records and case statements
> > wont work either.
> >
> > anyone have any ideas?
> Umm, I just looked back at some Pascal code I had on VAX
> Pascal, and it DEFINITELY has writeln statements in it.
> This is such basic Pascal syntax, I can't imagine that did
> not work.  But, maybe you have to enable some library or
> Pascal "unit" to use those functions.
> 
> Jon
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh



More information about the Simh mailing list