Re: Error?



On Mon, 25 Sep 2006 10:23:26 -0400, A. W. Dunstan wrote:

Drop the "String" - you want "Name", not "String Name". A cut & paste
error, maybe?
....
String Name = input.nextLine(); // read a line of text
gradebook2.setCourseName ( String Name ); // set the course name
....

In addition, I would recommend that you not capitalize the first letter of
variables, as it can sometimes get confusing.

.



Relevant Pages

  • Re: Capitalize first letter of sentence
    ... Doesn't seem to do anything with ordinals either ... >> the first letter of the sentence is not capitalize. ... > From my typing class I learnt about the shift ...
    (microsoft.public.office.misc)
  • Re: Autocorrect initial capital and date autotext
    ... See “Word does not capitalize the first letter ... the exception (which some users don't ... text, not just autonumbered lists. ...
    (microsoft.public.word.formatting.longdocs)
  • Re: How do I capitalize?
    ... Option Compare Database ... Save module and call it lets say proper. ... say the fieldname you want to capitalize the first letter ... >the shift key to capitalize the first letter. ...
    (microsoft.public.access.gettingstarted)
  • Re: Advanced HTML DOM Issue
    ... I'm sorry, I wasn't explicit enough, I meant to say capitalize the ... the first letter of words and un-cap the rest, ... whole string causes the field to forget where the cursor is ... ...
    (alt.html)
  • Re: Capitalize first letter when type a name in each cell.
    ... like if you wanted to capitalize the first letter in each ... word in a cell using worksheet_change. ... > Bob Phillips ...
    (microsoft.public.excel.worksheet.functions)