Subject:
|
Re: NQC 2.2 a1 available for public test
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Mon, 8 May 2000 09:07:05 GMT
|
Viewed:
|
1893 times
|
| |
| |
Hi Dave,
no there is no mistake in NQC. Sorry if I confused you.
I 've found a mistake in my samples #5 to #8. I wanted to show that you can use
a variable i as a parameter with the function Display(i, 0). My mistake was
that I copied the code from examples #1 to #4 and did no changes in the
parameter list.
Bye
Ralf
In lugnet.robotics.rcx.nqc, Dave Baum writes:
> In article <3915EB71.2690B785@gmx.de>, rkra@gmx.de wrote:
>
> > Hi,
> >
> > oh I did a another mistake. I 've sent the wrong file. And I tried to
> > send it via attachment .... with no chance ...
> >
> > I 'm sorry. This version is a silly one.
> > I 'm setting a variable but don't use it in the display command.
> > This is purely the same sample like #1 and not a new sample.
> >
> > i = 100; // #5 works also with variables
> > Display (100, 0); // displays 100 as #1 did
> > PlaySound (SOUND_CLICK);
> > Wait (100);
> >
> >
> > In my sample #5 the display should show the variable i, so the code must
> > be
> >
> > i = 100; // #5 works also with variables
> > Display (i, 0); // displays 100 as #1 did
> > PlaySound (SOUND_CLICK);
> > Wait (100);
> >
> > So please have a look to test1b.nqc.
> > I hope it 's okay now.
>
>
> I'm a bit confused...is there a bug I'm supposed to be looking at, or
> are you posting the code just as an example of using the display. If
> the former, could you let me know what you expected and what actually
> happened?
>
> Dave Baum
>
> p.s. No need to keep sending to both e-mail and the lugnet
> group...either one will do.
>
> --
> reply to: dbaum at enteract dot com
|
|
Message is in Reply To:
| | Re: NQC 2.2 a1 available for public test
|
| (...) I'm a bit confused...is there a bug I'm supposed to be looking at, or are you posting the code just as an example of using the display. If the former, could you let me know what you expected and what actually happened? Dave Baum p.s. No need (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
|
22 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|