Re: Exceeding recl

From: Richard E Maine (nospam_at_see.signature)
Date: 03/09/05


Date: Wed, 09 Mar 2005 08:50:46 -0800

In article <21DEC04.14011132@skyway.usask.ca>, meek@skyway.usask.ca
wrote:

> In a previous article, Thomas Koenig <Thomas.Koenig@online.de> wrote:
> >What's people's opinion on the code below? Is it invalid? Does
> >a processor have to catch this?
> >
> > a = 3.0
> > b = -1.0
> > open (10,recl=20)
> > write (10,'(2E20.10)') a,b
> > end
> >
> Yes,but just on execution, not compile.

Do you have any support for that claim? I certainly know of none.

I certainly agree that it is desirable for a compiler to catch this (and
that it is most unlikely to be doable at compile time). I also suspect
that most compilers do catch it (during execution).

But Thomas didn't ask whether it was desirable or whether most compilers
do. He specifically asked whether a processor "has" to. I know of no
justification for claiming that it "has" to. If there is some, I'd like
to see the citation in the standard. Note that it is not enough to find
a citation saying that the code is invalid would not be enough to show
that a compiler has to catch it. (That would be enough to answer the "Is
it invalid?" question, but not the "Does a processor have to catch
this?" one.)

-- 
Richard Maine                       |  Good judgment comes from experience;
email: my first.last at org.domain  |  experience comes from bad judgment.
org: nasa, domain: gov              |        -- Mark Twain


Relevant Pages

  • Re: Recompiling invalid objects in PL/SQL
    ... Many organizations monitor invalid objects in important application ... -- Stores PL/SQL program units that failed compiled TYPE lv_invalid_tab IS TABLE OF cur_objects_invalid%ROWTYPE INDEX BY BINARY_INTEGER; ... EXISTSTHEN -- Builds COMPILE DDL statements IF cur_objects_invalid_rec.object_type = 'PACKAGE BODY' THEN ...
    (comp.databases.oracle.server)
  • Re: XMLReader skip current element
    ... You should try Eclipse some time - it will compile (in some cases, ... just how handy would it be to just skip over an invalid ... Just because the remaining XML can be parsed, ... should try to recover. ...
    (microsoft.public.dotnet.languages.csharp)
  • Does anyone meet problem on snull code (LDD3)?
    ... to compile at 2.6.24.3 kernel, ... SIOCSIFFLAGS: Invalid argument ...
    (comp.os.linux.development.system)
  • Re: Ill do my best to outline everything...
    ... getting when I attempt to compile a package: ... Open a dos command window. ... Then see if the invalid objects are gone (see the query I gave you ...
    (comp.databases.oracle.server)
  • Re: Find and replace with condition
    ... I get an error message when I compile: ... Invalid outside procedure ... "Bob Phillips" wrote: ... > HTH ...
    (microsoft.public.excel.misc)

Loading