🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17744

Check if object doesn't exist???

#17744
From: Adam Silverthorne
Date: Wed, 07 Oct 1998 00:00
11 lines
721 bytes
Hi, I have a simple problem... I want to create an object IF it doesn't
already exist.  How can I test for this?

For example

(if zObject != exit){
    NewObject zObject = new NewObject();
}

-Adam
doogie@slip.net
Technical Details
Message-ID: <361BF7D5.D41D6F8C@slip.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8738f3916106a60c,start
X-Google-Attributes: gidf74b3,public
From: Adam Silverthorne <doogie@slip.net>
Subject: Check if object doesn't exist???
Date: 1998/10/07
Message-ID: <361BF7D5.D41D6F8C@slip.net>
X-Deja-AN: 398808711
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language