Thanks for the clarification.

One last thing regarding <  You can use the name of any structure-safe type
in place of "Integer>

Since a Structure itself is "structure-safe"  is there a way of
Pointing to  a structure ?  I am trying to think of returning a pointer to a
structure from a method  ( since one cant return the structure directly )

Dangerous territory I know....  But...

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

> 
> 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
> 

_______________________________________________
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