Hi Christian.

I don't think you will find an exact match for the C/C++ pointers -
But: You should be aware that any reference to an object in RB results in a pointer. So using a reference to an object in a parameter list is effectively a pointer rather than by value. It's only the fundamental data types (integer, string, ...) that will be passed by value.

And you can overcome the passed by value to make it a passed by reference with the ByRef keyword.

All of this gives you the equivalent functionality, if not the equivalent syntax.

Russ

On Aug 30, 2006, at 7:36 AM, Christian Sakowski wrote:

Hi everybody,

I have a question to pointers: i want to write in RealBasic like i do in
C/C++:

MyProcedure(&errorcode,&text)

How can i do this in RB?

Thanks
--

Regards,
[heubach-media] | Christian Sakowski

_______________________________________________
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