Re: variable length of integer



On Apr 29, 2:59 pm, "jamesgi...@xxxxxxx" <jamesgi...@xxxxxxx> wrote:

    do p = len(answer), merge(2,1,i<0), -1

See there? I did have an error! That should be len(IntToString) and
not len(answer) there. (In functions that have a very long name, I
usually have a result clause and the name ANSWER is what I always
use. Except for recursive functions I never otherwise use result
clauses.) If only I had noticed that error 2 minutes earlier. :-(

--
J. Giles

"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare
.



Relevant Pages

  • Re: WRITE + new line
    ... Dan Nagle wrote: ... design: One way is to make it so simple that there are obviously ... no deficiencies and the other way is to make it so complicated ... R. Hoare ...
    (comp.lang.fortran)
  • Re: Module variables
    ... John Keenan wrote: ... design: One way is to make it so simple that there are obviously ... no deficiencies and the other way is to make it so complicated ... R. Hoare ...
    (comp.lang.fortran)
  • Re: indentation - unbalanced parentheses
    ... glen herrmannsfeldt wrote: ... design: One way is to make it so simple that there are obviously ... no deficiencies and the other way is to make it so complicated ... R. Hoare ...
    (comp.lang.fortran)
  • Re: Variable length/precision formats?
    ... The whole technique is only useful once. ... design: One way is to make it so simple that there are obviously ... no deficiencies and the other way is to make it so complicated ... R. Hoare ...
    (comp.lang.fortran)
  • Re: Error with "make xconfig" in 2.4.23-test6
    ... That is not what "by design" means. ... Since the "deficiencies" were corrected in the next kernel, ... The first complains of a bug in "make xconfig", ... the second contains a patch correcting the bug, ...
    (comp.os.linux.development.system)