[Back to GSN Home Page] [Back to Message Index]

Global SchoolNet - Automated Message Archive

Re: LOGO-L> TClogo parallel processing?




egnatoff@educ.QueensU.CA
Mon, 18 Sep 95 11:06:30 EDT

Bill Kerr wrote:

>TClogo seems to incorporate parallel processing as illustrated below, for a
>car
>with a touch sensor at front:
>
>to move
> tto "a
> on
> lto 7
> waituntil [sensor?]
> off
>end
>
>The car moves until touch sensor is pressed then stops.
>I'm looking for an explanation of why the procedure is read by the Logo
>interpreter past the line that says "on". Why doesn't it just keep on keeping
>on forever and never get to the next 3 lines? Is this parallel processing?

I would say this does not simulate parallel processing. The command "on"
simply causes a switch on the TCLogo controller to be switched on. TCLogo
then goes on to deal with the next instruction.

The Object Logo version that knows how to talk to the LEGO controller does
simulate parallel processing because objects such as motors and lights can
be created that know how to behave according to the state of various
sensors. Object Logo then keeps an eye on the sensors automatically and
makes sure that the motors and lights do what they're supposed to.

Perhaps readers of this list could come up with other examples in various
versions of Logo that simulate parallel processing. (Of course, StarLogo is
designed for that purpose, so perhaps it should be excluded!)

************************************************************************
Dr. William J. Egnatoff, Assistant Professor, Computers in Education
Faculty of Education, Queen's University at Kingston
Kingston, Ontario, Canada K7L 3N6
egnatoff@educ.queensu.ca
Tel.: (613) 545-6722 (secretary Pat Deir); Fax: (613) 545-6584
(613) 545-6000-1-7290 (office or voice mail)
************************************************************************

---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org. Mail
questions about the list administration to logofdn@gsn.org. To
unsubscribe send unsubscribe logo-l to majordomo@gsn.org.