[Thread Prev] [Thread Next]
from: sanjeev singh <snjvsingh123@xxxxxxxxx>
date: Fri Jan 6 03:51:23 2012
platform: Mac OS10
version: MicroWorlds Ex
Getting an error with this routine.
to spi distance
spi distance + 10
rt didn't report anything to distance in spi
In MicroWorlds, "distance" is a command that expects one input.
when you say
MicroWorlds reads it as
... distance rt ...
Hence: "rt didn't report anything to distance in spi"
Besides, traditional variables, either in MicroWorlds or in UCBLogo, when
used, need to be prefixed by a colon:
to spi :distance
spi :distance + 10
the colon means: the value of the variable called distance.
Is there a document that lists the differences between the LSCI logo and say
I haven't seen such a document. But you did stumble upon one difference:
This works is MicroWorlds:
But it doesn't it UCBLogo.
Previous by thread:
MIA, Ask an Expert: Syntax err with recursive call
Next by thread:
Re: MIA, Ask an Expert: Syntax err with recursive call
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.