Re: One more TARGET quiz



On 27 aug, 13:23, glen herrmannsfeldt <g...@xxxxxxxxxxxxxxxx> wrote:
Arjen Markus wrote:

(snip)

Note, however, that a Fortran program that uses the
same actual argument twice in a call to a routine is
illegal, such as:
call foo(x, x)
I took the above roundabout way because that is what I
think you mean. I do not know whether the above program
is legal though - given the restriction.

No, it is only illegal to modify such variables. If the
subroutine does not modify either one then it is legal.

The ability to test that they are the same could be useful,
but note that:

call foo(x,x(2))

would find them different, even though they are aliased.

-- glen

Ah! That was it. Thanks for correcting me on this one.

Regards,

Arjen

.



Relevant Pages

  • Re: Copying a kernel routine
    ... OH, lets see, you are going to modify the page table, but not the internal ... If you need a kernel like routine, design your own, but of course as I said ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Re: Trying again (MVP, please note): programmatically setting up event handlers
    ... What environment have you used that allows runtime resolution of your ... I note sure why the one line of code that CALLS YOUR "general" error routine ... is VERY unlikely that the calling code will need to be changed, ... and you will often have to modify that code. ...
    (microsoft.public.access.forms)
  • Re: CRC32 on ELF in C problem
    ... I'm unable to modify the CRC32 algorithm. ... than an 'int'. ... really appropriate for a checksum routine to print information ... cleaned-up version I've reversed the sense of the above comparison ...
    (comp.programming)
  • Capture Pswrd & Userid To Auto Populate Form
    ... modify it you must have a password. ... I need to capture the userid and name at the password sign-in level. ... Does anyone have a routine or code for this? ... Prev by Date: ...
    (microsoft.public.access.formscoding)
  • Re: structures as input to a function
    ... Each field of each array member of the structure array is ... if you modify a structure within a routine and Matlab ... construct a complete new structure whose data pointers are ...
    (comp.soft-sys.matlab)