problems with error messages
I recently downloaded the VisualAge 2.0 for Windows and all of its
documentation. I started to work on an example in the "Getting Started"
document, bu got stuck with an error message (something about a character
literal expected) that I cannot understand because I cannot find any
document that explains what that message means or possible solutions. I
donīt even know where the problem is exactly, since the software doesnīt
mark the exact place. Would anyone send me a list of error messages with
their meanings and explanations? Is there any way the program can pinpoint
the error?
Thank you
Best regards,
Eric Miedzowicz
Re: problems with error messages
"Eric" <miedzo@cvtci.com.ar> wrote:
>
>I recently downloaded the VisualAge 2.0 for Windows and all of its
>documentation. I started to work on an example in the "Getting Started"
>document, bu got stuck with an error message (something about a character
>literal expected) that I cannot understand because I cannot find any
>document that explains what that message means or possible solutions. I
>donīt even know where the problem is exactly, since the software doesnīt
>mark the exact place. Would anyone send me a list of error messages with
>their meanings and explanations? Is there any way the program can pinpoint
>the error?
>
>Thank you
>
>Best regards,
>
> Eric Miedzowicz
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I symapthize. I would also like to find a list of error messages. As far
as location goes, there's usually a statement number in messages, at least
in the javac command I got through Borland JBuilder 2. Frustrated by the
learning curve, I borrowed java, javac and javadoc from the package and spent
6 months working with just these. The line number didn't do me any good,
so I put in a lot of System.out.println("#1"); - type statements, and was
able to narrow down. When I went back to the JBuilder editor, I saw that
when I click on a message, the exact line is displayed, so if your Visual
Age doesn't give this to you (which would really surprise me), I'd recommend
Jbuilder 3 Standard, for about $99.
About the message: Be sure that your quotation marks are the right kind.
I believe it is that double quotes make strings, whereas single ones make
characters. --or something like that.