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

2018-02-08 Thread Clem cole
illquist > <b...@softjar.se> > Sent: February 8, 2018 5:33 PM > To: simh@trailing-edge.com > Subject: Re: [Simh] anyone know how to convert/translate turbo pascal to vax > pascal? > > Like I said, you cannot just replace "assign" with "open". The nu

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

2018-02-08 Thread Dan Gahlinger
Johnny Billquist <b...@softjar.se> Sent: February 8, 2018 5:33 PM To: simh@trailing-edge.com Subject: Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal? Like I said, you cannot just replace "assign" with "open". The number, types, and exact arguments

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

2018-02-08 Thread Johnny Billquist
  close(f);   close(g);   close(h); end. *From:* Clem Cole <cl...@ccc.com> *Sent:* February 8, 2018 12:44 PM *To:* Dan Gahlinger *Cc:* Gary Lee Phillips; Tim Shoppa; simh@trailing-edge.com *Subject:* Re: [Simh] anyone know how to convert/translate turbo

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

2018-02-08 Thread Clem Cole
I'm at the airport so I do not have a manual -- again please, please download On Thu, Feb 8, 2018 at 12:21 PM, Dan Gahlinger wrote: > > > f, g, h : text; > ​I think the VMS syntax is something like... f : FILE OF TEXT; then later OPEN( File_Variable := f,

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

2018-02-08 Thread Dan Gahlinger
e(g); close(h); end. From: Clem Cole <cl...@ccc.com> Sent: February 8, 2018 12:44 PM To: Dan Gahlinger Cc: Gary Lee Phillips; Tim Shoppa; simh@trailing-edge.com Subject: Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal? Yup - traditional Pasca

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

2018-02-08 Thread Ken Cornetet
om>; simh@trailing-edge.com Subject: Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal? Yup - traditional Pascal (lack of) portability due to the report having been silent. Associating files with file descriptors could never be agreed so ISO never defined how to d

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

2018-02-08 Thread Clem Cole
NDECLID, (1) Undeclared identifier ASSIGN > at line number 16 in file DUA1:[DAN]FCOMP.PAS;4 > %PASCAL-E-ENDDIAGS, PASCAL completed with 1 diagnostic > > -- > *From:* Clem Cole <cl...@ccc.com> > *Sent:* February 8, 2018 10:58 AM > *To:* Dan Gahlinger > *Cc:* Gary Lee Phillip

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

2018-02-08 Thread Johnny Billquist
To:* Dan Gahlinger *Cc:* Gary Lee Phillips; Tim Shoppa; simh@trailing-edge.com *Subject:* Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal? Dan, As others have said something smells wrong here.  It's true the original '71 report from Wirth did not defined I/O and '

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

2018-02-08 Thread Dan Gahlinger
completed with 1 diagnostic From: Clem Cole <cl...@ccc.com> Sent: February 8, 2018 10:58 AM To: Dan Gahlinger Cc: Gary Lee Phillips; Tim Shoppa; simh@trailing-edge.com Subject: Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal? Dan, As othe

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

2018-02-08 Thread Clem Cole
Dan, As others have said something smells wrong here. It's true the original '71 report from Wirth did not defined I/O and '72 revised report only defined write. By the time of the Jensen & Wirth book from Springer-Verlag in the mid-late '70s writeln is there. And by the time of the first

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

2018-02-08 Thread Dan Gahlinger
...@trailing-edge.com<mailto:simh-boun...@trailing-edge.com>> on behalf of Gary Lee Phillips <tivo.ov...@gmail.com<mailto:tivo.ov...@gmail.com>> Sent: Thursday, February 8, 2018 8:19:20 AM To: Tim Shoppa Cc: simh@trailing-edge.com<mailto:simh@trailing-edge.com> Subject:

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

2018-02-08 Thread Pär Moberg
ruary 8, 2018 8:19:20 AM *To:* Tim Shoppa *Cc:* simh@trailing-edge.com *Subject:* Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal? 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.

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

2018-02-08 Thread Dan Gahlinger
kef> From: Simh <simh-boun...@trailing-edge.com> on behalf of Gary Lee Phillips <tivo.ov...@gmail.com> Sent: Thursday, February 8, 2018 8:19:20 AM To: Tim Shoppa Cc: simh@trailing-edge.com Subject: Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal? It could, but

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

2018-02-08 Thread Gary Lee Phillips
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. 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

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

2018-02-08 Thread Tim Shoppa
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. Tim > On Feb 8, 2018, at 7:51 AM, Gary Lee Phillips wrote: > > VMS Pascal conforms to the language standards. So does

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

2018-02-08 Thread Gary Lee Phillips
VMS Pascal conforms to the language standards. So does Turbo Pascal, if the code is written to standard. 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

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

2018-02-08 Thread Bob Eager
t: February 7, 2018 9:25 PM > To: simh@trailing-edge.com > 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 > >

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

2018-02-07 Thread Jean-Claude Parel
Phone: +33-4-7218-4095 Home: +33-4-7558-3550 Mobile: +33-6.7171.0434 e-mail: jcpa...@fr.ibm.com From: Dan Gahlinger <dgahl...@hotmail.com> To: "simh@trailing-edge.com" <simh@trailing-edge.com> Date: 08/02/2018 00:23 Subject: [Simh] anyo

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

2018-02-07 Thread Dan Gahlinger
:36 AM To: Dan Gahlinger Cc: Jeremy Begg; Jon Elson; simh@trailing-edge.com Subject: Re: [Simh] anyone know how to convert/translate turbo pascal to vax pascal? Despite porting the program from VAX Pascal to various flavours of other Pascal, it seems you don’t recall much about the language.

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

2018-02-07 Thread Jeremy Begg
2018 9:25 PM > To: simh@trailing-edge.com <mailto:simh@trailing-edge.com> > 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 > <mailto:simh-requ...@trailing-edge.

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

2018-02-07 Thread Dan Gahlinger
n <el...@pico-systems.com> Sent: February 7, 2018 9:25 PM To: simh@trailing-edge.com 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

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

2018-02-07 Thread Jon Elson
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; charse

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

2018-02-07 Thread Timothe Litt
On 07-Feb-18 18:22, Dan Gahlinger wrote: > 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" I would be very surprised by this; writeln

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

2018-02-07 Thread Armistead, Jason
…, Pascal ! Jason From: Simh [mailto:simh-boun...@trailing-edge.com] On Behalf Of Dan Gahlinger Sent: Wednesday, 7 February 2018 6:22 PM To: simh@trailing-edge.com Subject: [External] [Simh] anyone know how to convert/translate turbo pascal to vax pascal? since I did all that work recreating "c