To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 593
592  |  594
Subject: 
Re: NQC 2.2 a1 available for public test
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Mon, 8 May 2000 02:16:35 GMT
Viewed: 
1620 times
  
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 has 1 Reply:
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 7-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR