Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14130

Re: Newbie has simple question

From bilsch <king621@comcast.net>
Newsgroups comp.lang.java.programmer
Subject Re: Newbie has simple question
Date 2012-05-02 05:39 -0700
Organization A noiseless patient Spider
Message-ID <jnr9u1$4co$1@dont-email.me> (permalink)
References <jnr88b$q5s$1@dont-email.me> <field-20120502142158@ram.dialup.fu-berlin.de>

Show all headers | View raw


On 05/02/2012 05:22 AM, Stefan Ram wrote:
> bilsch<king621@comcast.net>  writes:
>> statement causing the error is:
>> System.out.print(bstr.nvchr[n]);
>
>    This requires »nvchr« to be a field of »bstr« (»BigString«),
>    but »nvchr« is not a field of »bstr« (»BigString«). It is only
>    a local variable used in its constructor.
>

I don't understand what makes it different than the variables fin and 
count which are both printable from the main program.  Is there no way 
to make it work?  What does it mean to be a 'field'?  Could you tell me 
more?

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Newbie has simple question bilsch <king621@comcast.net> - 2012-05-02 05:10 -0700
  Re: Newbie has simple question bilsch <king621@comcast.net> - 2012-05-02 05:39 -0700
  Re: Newbie has simple question Silvio Bierman <silvio@moc.com> - 2012-05-02 14:43 +0200
    Re: Newbie has simple question bilsch <king621@comcast.net> - 2012-05-02 05:57 -0700
      Re: Newbie has simple question Silvio Bierman <silvio@moc.com> - 2012-05-02 15:07 +0200
        Re: Newbie has simple question bilsch <king621@comcast.net> - 2012-05-02 06:36 -0700
          Re: Newbie has simple question Silvio Bierman <silvio@moc.com> - 2012-05-02 16:43 +0200
  Re: Newbie has simple question Lew <lewbloch@gmail.com> - 2012-05-02 11:07 -0700
    Re: Newbie has simple question bilsch <king621@comcast.net> - 2012-05-02 12:57 -0700
      Re: Newbie has simple question Lew <lewbloch@gmail.com> - 2012-05-02 14:21 -0700

csiph-web