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 <dgahl...@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-boun...@trailing-edge.com> on behalf of Jon Elson > <el...@pico-systems.com> Sent: February 7, 2018 9:25 PM > To: firstname.lastname@example.org > Subject: [Simh] anyone know how to convert/translate turbo pascal to > vax pascal? > > On 02/07/2018 05:57 PM, simh-requ...@trailing-edge.com wrote: > > [Simh] anyone know how to convert/translate turbo pascal to > > vax pascal? > > Message-ID: > > > > <dm3pr16mb0813e13bb9f23f23569db71ac9...@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@trailing-edge.com > http://mailman.trailing-edge.com/mailman/listinfo/simh _______________________________________________ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh