To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 523
522  |  524
Subject: 
RE: pbForth vs RCX 1.0
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Sun, 30 Jun 2002 02:21:58 GMT
Reply-To: 
<rhempel@bmts.com%nospam%>
Viewed: 
6166 times
  
> Just to make sure, let's take an example.
> 
> Let's say that I have two RCX, named A and B. What if the program in RCX B
> is waiting for a character on the instruction KEY and RCX A sends a
> character, let's say '5' (ASCII 52) with   52 EMIT  ? That would not work?
> When I use a terminal emulator, it seems to me that I send characters one at
> a time to the RCX and when the RCX echoes, it sends it back? It would be
> different between two RCXs?

What you describe would work exactly. Normally, the "outer interpreter"
of pbForth waits for input using "KEY" - which of course is just a char
from the IR. You can make a special word that waits for anything you
like...

Cheers, Ralph



Message is in Reply To:
  Re: pbForth vs RCX 1.0
 
Thanks, Just to make sure, let's take an example. Let's say that I have two RCX, named A and B. What if the program in RCX B is waiting for a character on the instruction KEY and RCX A sends a character, let's say '5' (ASCII 52) with 52 EMIT ? That (...) (24 years ago, 27-Jun-02, to lugnet.robotics.rcx.pbforth)

4 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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