* Switch from Pascal 5.5 to 5.6 problem
@ 1998-02-26 5:00 Martijn Haan
1998-02-26 5:00 ` Peter LANGSTOEGER
0 siblings, 1 reply; 2+ messages in thread
From: Martijn Haan @ 1998-02-26 5:00 UTC (permalink / raw)
Hey there,
We are trying to port a system from VAX to AXP.
On the Vax we use VMS 5.5 1h2 and Pascal 5.5.
On the AXP we use VMS 7.1-1 and Pascal 5.6
We now have encountered the next problem with the new Pascal Compiler
5.6
In the release-notes is stated:
"Previous versions of DEC Pascal would permit passing components of
readonly variables to VAR parameters.
The compiler would detect passing an entire readonly variable to a VAR
parameter, but it accidently missed the case of passing just a component
of a variable."
Well we have not always been very strict programmers and indeed we did
pass just a component of a variable.
Does anyone know a solution.
Do we have to use assistent_variables through our programs to solve the
problem or is there a Pascal compile parameter?
The behaviour is only there in Pascal 5.6 in Pascal 5.5 there is no
problem.
Is there a Pascal Flag what compiles 5.6 like pascal 5.5 for this
particular problem?
Is there a variable attribute which solve our problem?
I hope somebody out there has the answer for us!
Thanks in advance
Martijn Haan
Technical Coordination VPT
cwmhaan@hr.nl
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Switch from Pascal 5.5 to 5.6 problem
1998-02-26 5:00 Switch from Pascal 5.5 to 5.6 problem Martijn Haan
@ 1998-02-26 5:00 ` Peter LANGSTOEGER
0 siblings, 0 replies; 2+ messages in thread
From: Peter LANGSTOEGER @ 1998-02-26 5:00 UTC (permalink / raw)
In article <34F616F7.41EB@hr.nl>, Martijn Haan <cwmhaan@hr.nl> writes:
>Hey there,
>
>We are trying to port a system from VAX to AXP.
>On the Vax we use VMS 5.5 1h2 and Pascal 5.5.
>On the AXP we use VMS 7.1-1 and Pascal 5.6
>
>We now have encountered the next problem with the new Pascal Compiler
>5.6
>In the release-notes is stated:
>"Previous versions of DEC Pascal would permit passing components of
>readonly variables to VAR parameters.
>The compiler would detect passing an entire readonly variable to a VAR
>parameter, but it accidently missed the case of passing just a component
>of a variable."
>
>Well we have not always been very strict programmers and indeed we did
>pass just a component of a variable.
>Does anyone know a solution.
>Do we have to use assistent_variables through our programs to solve the
>problem or is there a Pascal compile parameter?
>
>The behaviour is only there in Pascal 5.6 in Pascal 5.5 there is no
>problem.
>Is there a Pascal Flag what compiles 5.6 like pascal 5.5 for this
>particular problem?
>Is there a variable attribute which solve our problem?
>
>I hope somebody out there has the answer for us!
How about porting the application to the Alpha with PASCAL V5.5 compiler ?
And then later reworking the software again for the PASCAL V5.6 version ?
In the meantime, the software is running on the faster and supported platform.
just my 0.02
------------------------------------------------------------------------
Peter "EPLAN" LANGSTOEGER Tel. +43 1 81111-2382
Network and OpenVMS system manager Fax. +43 1 81111-888
Technical Computer Center (ADV) E-mail eplan@kapsch.net
<<< KAPSCH AG Wagenseilgasse 1 PSImail PSI%(0232)281001141::EPLAN
A-1121 VIENNA AUSTRIA "I'm not a pessimist, I'm a realist"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-02-26 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-26 5:00 Switch from Pascal 5.5 to 5.6 problem Martijn Haan
1998-02-26 5:00 ` Peter LANGSTOEGER
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox