Re: No array update w/o setf?





Yet another Dan wrote:
Pascal Bourguignon wrote:

What's wrong with aref?


I'm starting index values from 1 instead of 0.

Because your array goes to eleven? I think this is The Real Problem. Why on earth do you want an array starting at one? I ask because I think The Great Contribution to society of computer science is the news that zero should have been the first natural number.

kt

--
Cells: http://common-lisp.net/project/cells/

"I'll say I'm losing my grip, and it feels terrific."
-- Smiling husband to scowling wife, New Yorker cartoon
.



Relevant Pages

  • Re: Iterate an enum
    ... >> you have to either maintain the array in parallel with the enumeration ... Both the parallel maintenance and source code generation methods have ... actually get better alternatives on how to solve your real problem A. ...
    (comp.lang.c)
  • Re: Save an array to memory for another program to read it
    ... I need the program to store into memory this array, end itself and when immediately runs again to load this array again from the memory. ... have said "subroutine" so what it required is to read a bit further into ... It is the old question of whether the stated problem is the real problem ...
    (comp.lang.fortran)
  • Re: Disappointed by perl..
    ... The real problem as I see is, ... An anonymous array reference ... Therefore it needs a container, ... Can make a heaven of hell, ...
    (comp.lang.perl.misc)
  • Re: Multi dimensional array
    ... Like, why are you taking all the data from the database, putting it in a ... new array, and after that, looping through the new array to print out form ... I found the real problem -- you are not printing anything out ...
    (comp.lang.php)
  • Re: Parsing excel CVS data on a mac OSX to extract blocks of cells
    ... A capital variable is a constant in Ruby. ... The real problem here is that Arr is an Array, ... array and transform it into a 2D array. ... # process row here... ...
    (comp.lang.ruby)