help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to automatically increment an index array


From: Francis Moreau
Subject: How to automatically increment an index array
Date: Thu, 26 Jun 2008 09:45:06 +0200

Hello

I have this problem: in a buffer, *scratch* for example I have:

  [8735b450] = xxx,
  [0x15] = xxx,
  [0x16] = xxx,
  [0x17] = xxx,
  [0x18] = xxx,
  [0x19] = xxx,
  [0x1a] = xxx,
  [0x1b] = xxx,

After running a 'magic' command I'd like to calculate the new array indexes
as follow:

  [8735b450] = xxx,
  [8735b454] = xxx,
  [8735b458] = xxx,
  [8735b45c] = xxx,
  [8735b460] = xxx,
  [8735b464] = xxx,
  [8735b468] = xxx,
  [8735b46c] = xxx,
  ...

Can anybody give me a hint ?

Thanks
-- 
Francis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]