Article View: borland.public.jbuilder.java.language
Article #7541How to do if/else on one line?
From: Alex Colic
Date: Tue, 05 Jun 2001 14:07
Date: Tue, 05 Jun 2001 14:07
10 lines
1015 bytes
1015 bytes
Hi, I remember that there way a way to have an if-else statement all on one line. Something like: if(test) true, false; Can someone give me the syntax for this? Thanks Alex
Technical Details
Message-ID:
<3b1ce7b8$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,38b0f3260a20a9a4,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-06-05 07:13:39 PST From: "Alex Colic" <alex.colic@pop-ware.com> Newsgroups: borland.public.jbuilder.java.language Subject: How to do if/else on one line? Date: Tue, 5 Jun 2001 10:07:42 -0400 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 24.150.29.218 Message-ID: <3b1ce7b8$1_1@dnews> X-Trace: dnews 991750072 24.150.29.218 (5 Jun 2001 07:07:52 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews