On May 16, 2006, at 4:23 PM, Dan Stenning wrote:

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 ?

Not at all. Ptr isn't a C++ datatype, it's a REALbasic data type. Every offset specified is in bytes.

HTH,
Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


_______________________________________________
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