integer pointer values..convert to char

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Saravana Vijayan.B (bsvijayan_at_hotmail.com)
Date: 09/28/04


Date: Tue, 28 Sep 2004 20:16:01 +0530

i have a doubt..
if i have a integer pointer of 2 bytes and i want to fetch values of 1 byte 1 byte pointer incrementation is
possible???

ie operating like the character pointer??

--



Relevant Pages

  • Re: the adress register, is good choice ?
    ... A store, store T into A ... a@ A fetch, fetch T from A ... store from T into memory using A as a pointer ... when using the top of the return stack as a memory pointer. ...
    (comp.lang.forth)
  • Re: Getting signal ILL (illegal opcode) in (unknown)
    ... some 200001 bytes and trying to fetch the data. ... Please advise whether i can have this much of bytes in char pointer?? ...
    (comp.unix.solaris)
  • Re: Cases where Forth seems a little clunky
    ... let's describe by words c-code: ... put value at destination pointer, increment both pointers. ... so, the heart of c-code is to fetch a value and store it, let name it ...
    (comp.lang.forth)
  • Your view of FAQ section.
    ... We already now that pointers and arrays ... But should the FAQ really go into detail about how the compiler ... | start at the location ``p'', fetch the pointer value there, add three to the pointer, and finally fetch the character pointed to. ...
    (comp.lang.c)
  • Re: Cases where Forth seems a little clunky
    ... let's describe by words c-code: ... put value at destination pointer, increment both pointers. ... so, the heart of c-code is to fetch a value and store it, let name it ...
    (comp.lang.forth)