realbasic-betas.mbox
[Top] [All Lists]

Re: Generic #ifdef wuvczsfm

To: "REALbasic Betas" <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: Generic #ifdef wuvczsfm
From: "Aaron Ballman" <aaron at realsoftware dot com>
Date: Tue, 27 Jul 2004 21:06:01 -0500
Delivered-to: realbasic-betas at lists dot realsoftware dot com
References: <BD2BC6C9 dot 314C%mac-x at mac-x-software dot com>
> I just try in RB 5.5.3f5, but doesn't work. Witch version of RB 5.x is
> implemented ? 

I believe that was in 5.0.

You can use generic #if to conditionally compile code like this:

Const test = true

#if test
    MsgBox "Test"
#endif

If you set test to false, you will get no MsgBox.

HTH!

~Aaron
_______________________________________________
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>