Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 6.2

COLUMN

A Delegate Sampler

Methods as Objects

Issue: 6.2 (January/February 2008)
Author: Charles Yeomans
Author Bio: Charles is the author of "I Declare: Calling External Functions in REALbasic", available online at http://www.declareSub.com/
Article Description: No description available.
Article Length (in bytes): 7,992
Starting Page Number: 38
Article Number: 6216
Related Web Link(s):

http://www.declareSub.com/

Excerpt of article text...

REALbasic 2007r4 added delegates to the language. In short, a delegate is a reference to a global, shared, or object method. They are a welcome addition to the language, because they are a solution to the problem "how do I specify a method at runtime?". To whet your appetite for delegates, I offer here a few amuses-bouchebecause foreign phrases should be italicized, no?.

...End of Excerpt. Please purchase the magazine to read the full article.