xmem

I’m trying to store to do data logging with the LP3500. In every loop I want to store an integer via xsetint. The buffer is allocated via xalloc. Now how do I increment the address of the buffer returned by xalloc?

code snippet:

lbuf=xalloc(BUFSIZE)

  1. loop: xsetint(lbuf,adin);
  2. loop: xsetint(lbuf++,adin) doesn’t seem to work

Any ideas?

Thanks,
Jochen