On Apr 21, 2007, at 7:45 PM, Thomas Cunningham wrote:
> Hi All,
>
> I was looking for a little clarification on using callbacks,
> memoryblocks
> and declares. I thought I understood these concepts better -
> ugh!. :-)
>
> This is all placed in a module, assume this structure.
>
> typedef struct SampleStruct{
> version As Integer
> evaluate As Integer
> }
>
> The evaluate declaration in this structure is a callback used to
> evaluate a
> function. I assume this needs to be declared as an integer since we
> cannot
> declare it in a structure as a MemoryBlock.
Assuming that you're going to use an Rb structure, also called
SampleStruct, declare the field evaluate to be of type Ptr.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>