From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,ceed34ddc4081f4c,start X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,ceed34ddc4081f4c,start X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,ceed34ddc4081f4c,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,ceed34ddc4081f4c,start X-Google-Attributes: gid102b75,public From: Martijn Haan Subject: Switch from Pascal 5.5 to 5.6 problem Date: 1998/02/26 Message-ID: <34F616F7.41EB@hr.nl>#1/1 X-Deja-AN: 328874676 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Reply-To: cwmhaan@hr.nl Content-Type: text/plain; charset=us-ascii Organization: Holland Railconsult Newsgroups: vmsnet.alpha,comp.os.vms,comp.sys.dec,comp.arch 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