|
-
Mar 27th, 2006, 10:30 PM
#1
[RESOLVED] System.out.print question
-
Mar 27th, 2006, 11:19 PM
#2
Re: System.out.print question
What do you want to know about it?
Every time the print is called "i" is tested if >1 ',' will be printed before the ResultSet.getString(i) otherwise (i<=1) an empty string will be printed instead
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Mar 27th, 2006, 11:28 PM
#3
-
Mar 27th, 2006, 11:31 PM
#4
Re: System.out.print question
It's exactly the same, yes.
Keep on with java, you'll love it
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Mar 28th, 2006, 12:01 AM
#5
-
Mar 30th, 2006, 07:23 AM
#6
Re: System.out.print question
 Originally Posted by ComputerJy
It's exactly the same, yes.
Not exactly, but close enough. With VB's IIf(), both the true part and the false part will be evaluated before getting passed into IIf(). So if you are trying to do a check for Nothing before accessing an object's properties, IIf will still throw an exception.
In Java, the false part is only evaluated if the test indeed returns false.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Mar 30th, 2006, 11:51 PM
#7
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|