Re: In-Out Parameters for functions

From: David Starner (dvdeug_at_email.ro)
Date: 02/24/04


Date: Tue, 24 Feb 2004 02:16:09 GMT

On Tue, 24 Feb 2004 01:55:41 +0000, Hyman Rosen wrote:
> Yes, that's what my rules would accomplish. There are many people
> who are astonished to realize that in
> a := f(a(0)) + g(b(1));
> the only constraints are that a is called before f and b before g,
> but nothing else is required, so that six orders are possible:
> abfg abgf afbg bafg bagf bgaf

And there are many people who would be astonished if it matters
and feel compelled to go find the author and beat them over the
head with the ARM.

In any case, there are a lot of things many people would be
astonished to realize. Many people were astonished to realize
that C ints weren't 16 bits long; that didn't mean that the
standard should have changed the definition. Many people
are also astonished to find out that the size of an integer
isn't necessarily the same size as a pointer.



Relevant Pages

  • Re: Portable Generator of visual stimuli
    ... I want to be able to control maximum and minimum interval between the light signal and the total number of signals whithin a standard period of time, ... You are not asking for something that can not be constructed within reasonable price constraints. ... Maybe someone here will design it for you for free but I don't have the time. ... I'd put a pair of LEDs on a glasses frame and power them from the serial or parallel port of your laptop. ...
    (sci.electronics.basics)
  • Re: DEFAULT doesnt work in COALESCE?
    ... Constraints are the standard way to do this, and really should be the way ... >> create default Zero as 0 ... >> (id tinyint not null constraint DF_Test_id default 0 ...
    (microsoft.public.sqlserver.programming)
  • Re: Meaning of implementation def. behaviour (was: Re: C99 IDE for windows)
    ... The Standard doesn't impose an ordering of any ... so for this instance of unspecified behaviour the Standard omits ... subject only to the constraints ... specifying one or more particular values, but simply a limit and some ...
    (comp.lang.c)
  • Re: Check if a directory is empty and empty it
    ... "Marcia Hon" wrote in message ... accomplish this? ... the ISO standard, sometimes also refered to as ANSI C. ... You will need to use some language extension for your ...
    (comp.lang.c)
  • Re: ALLOCATABLE or POINTER
    ... The rule is that compilers are required to diagnose problems in a program if and only if they violate Constraints in the Fortran ... time crash and core dump) with a program that violates the standard in a way that does not violate any Constraint. ... I'd say I really wanted to ask a slightly different question: Given that the processor needs to diagnose this at compile time, and that constraints are put into the standard if they can be enforced at compile time, why didn't this one get a constraint in the standard? ...
    (comp.lang.fortran)