Go to advanced search

by verndalesystems
Thu Mar 20, 2014 11:50 pm
Forum: Java
Topic: Query boolean in print
Replies: 1
Views: 784

Re: Query boolean in print

Did you mean the ternary operator '?:' E.g.

System.out.println(" credits: " + ((credits == null) ? "" : credits.toString()));

If "credits" is null then an empty string is printed, otherwise a string representation of "credits" is printed.
by verndalesystems
Tue Mar 12, 2013 10:59 pm
Forum: Other programming languages
Topic: Free COBOL product for Raspberry Pi
Replies: 14
Views: 5216

Re: Free COBOL product for Raspberry Pi

Arrrrgh - When is this language going to finally roll over and die?? It's been haunting me for 35 years now... :cry:
by verndalesystems
Fri Jun 22, 2012 2:28 pm
Forum: Staffroom, classroom and projects
Topic: Teaching Youngsters Programming
Replies: 131
Views: 32681

Re: Teaching Youngsters Programming

I notice no one has mentioned COBOL - thankfully!

Go to advanced search