realbasic-nug
[Top] [All Lists]

Re: STATIC confusion

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: STATIC confusion
From: Asher Dunn <iridescent dot ion at gmail dot com>
Date: Sat, 31 Dec 2005 14:19:02 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=EOV/vppux5QyVPvWcSvVjUnlh0WaKrq/yYocwvj/yWlpvRae2vDkGN4+OAgr9QWeBxZfUTx6yc4zrILRLxwL1/55C2M1vmEXxOu45B5dtFAfzxHAxkM2kSUY42FVS6TgS9L1anZid3sKkxaLz4HhOofF3hniMR5SqFJsoU6rwcw=
References: <33cbfa100512271008p29d8578era776433e12dd72b7 at mail dot gmail dot com> <759eb83aac5ac9b6e67c9b2e72ba9ffc at declareSub dot com>

On Dec 27, 2005, at 4:33 PM, Charles Yeomans wrote:

I believe that as well, though I cannot find it documented anywhere. In the course of looking, I did look at the documentation for the new operator; what a mess.

I assume new always returns a valid object, since you cannot "return nil" from a constructor. If the app ran out of all available RAM (real and virtual), I think it would crash rather than have new return nil. And yes, the docs for new are quite ugly...

Asher

-------------------------
Asher Dunn
Head Developer, Fireye Software
http://www.fireyesoftware.com/
AIM, Yahoo, MSN: crazedglkid

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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