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


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

Re: Newbie has simple question

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From bilsch <king621@comcast.net>
Newsgroups comp.lang.java.programmer
Subject Re: Newbie has simple question
Date Wed, 02 May 2012 05:39:28 -0700
Organization A noiseless patient Spider
Lines 14
Message-ID <jnr9u1$4co$1@dont-email.me> (permalink)
References <jnr88b$q5s$1@dont-email.me> <field-20120502142158@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Wed, 2 May 2012 12:39:30 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="llALXQ6TxsVqIoSLcrwVyA"; logging-data="4504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+79YtM629SLWYP2c4uuj9g"
User-Agent Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1
In-Reply-To <field-20120502142158@ram.dialup.fu-berlin.de>
Cancel-Lock sha1:X0Al+83G6FlsEc1++1a6IxiG8EY=
Xref csiph.com comp.lang.java.programmer:14130

Show key headers only | 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