> There *is* a correct answer.  In fact, there are two, and you can pick the
> one you prefer.
> 
> int *value    ==>   value as Ptr  (or MemoryBlock)
> int **value   ==>   ByRef value as Ptr (or MemoryBlock)

I meant that there was no ONE answer in all cases. One of three so it seems
if you add the Integer option as Charles posted.

> You don't need to "see what works".

Sure I do or else my declare sometimes does not function as described in the
docs. I've come across quite a few declares where only one of these three
choices does work and the others fail (crash). My experience is that it is
not clear cut which one to use and was looking for some guidance. There is a
lot of trial and error using declares in Rb, at least for me as a non-c
programmer.

--
Thomas C.

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to