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 7.4



Working with datatypes

Issue: 7.4 (May/June 2009)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 16,144
Starting Page Number: 46
Article Number: 7414
Resource File(s):

Download Icon 7414.zip Updated: 2009-05-01 11:25:10

Related Link(s): None

Excerpt of article text...

In last issue's Beginner's Corner, I wrote about working with windows. One feature involved building a menu of open windows where I saved the window's reference into a menuitem's tag property. I did this with code that looked like this:


A reader wrote with a question about this and I realized that I probably glossed over an interesting topic. The above code confused the reader because the syntax makes it appear as though I'm passing wmenu.tag as a parameter to docWindow. That's not at all what's happening, but since the syntax is the same as passing parameters to functions, it certainly is confusing. I know when I first ran into this I found it bewildering.

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