Re: access violation




On Fri, 10 Aug 2007 10:31:07 -0400, Herman D. Knoble <SkipKnobleLESS@xxxxxxxxxxxxxxx>
wrote:

-|IF(IR > 4684) THEN
-| write(*,*) "IR=",IR, " I=",I
exit
-| ENDIF


Example: will stop when IR gets bigger than b's dimension.

implicit none
real :: y(848), b(4684)
integer :: maprow(848), nrtot, ir, I

B=2
NRTOT= 848
DO I=1,NRTOT
MAPROW(I)=I*6
IR = MAPROW(I)
if (IR > 4684) then
write(*,*) "I=",I," IR=",IR
exit
endif
Y(I) = B(IR) !!! Dies here
END DO

end

.



Relevant Pages

  • Re: Sending PRN files to the printer.
    ... because the search "Joe Hecht PrnRaw" doesnt show up any ... {$ENDIF} ... function PrintRawData(hPrn: THandle; ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: How to structure installation of TCPIP related products
    ... With 5.3 and later, I can define the service with TCPIP> SET SERVICE, including the username, startup file and log file etc. ... $ ENDIF ... Figure out which TCP/IP Product is being used ... $ EXIT ...
    (comp.os.vms)
  • [PATCH][IDE] update dtc2278 driver
    ... mark exit functions with __exit ... +static int __init probe_dtc2278 ... -static void dtc2278_release ...
    (Linux-Kernel)
  • [PATCH][IDE] update ht6560b driver
    ... mark exit functions with __exit ... -static void __exit ht6560b_mod_exit ... static int __initdata probe_ht6560b; ...
    (Linux-Kernel)
  • [PATCH][IDE] update qd65xx driver
    ... mark exit functions with __exit ... -static void __exit qd_unsetup (int unit) ... -MODULE_DESCRIPTION("support of qd65xx vlb ide chipset"); ...
    (Linux-Kernel)