Does this always "increment" in Byte offsets or is there some scheme for
incrementing pointers by datatype ?

For example if myPtr is a pointer to pointers do I have to write
myPtr = myPtr  +Ptr(1)
Or
myPtr = myPtr +Ptr(4)   ( assuming all pointers are 4 byte )

Basically - how near to the C++ way in which pointers get incremented can we
get ?  

On 16/5/06 20:52, "Jonathan Johnson" <[EMAIL PROTECTED]> wrote:

> Not quite -- you can add two pointers, but you can't add an integer
> to a pointer. So, you can say myPtr + Ptr(1) to increment it, if
> you'd like.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to