[Thread Prev] [Thread Next]
On 4 Nov 2007 at 0:24, Patrick Edmondson wrote:
> Back in LogoWriter days, I had a procedure to combine word
> parts into a sniglet and ask the user for a definition.
> The command flip went to the procedure page and wrote a
> procedure to output the definition of the sniglet.
> Is there anyway in Microworlds to program text to the
> procedure page
Hi Patrick,
I think not. In that sense MicroWorlds is less powerful than
LogoWriter. Other less visual logos do have a feature to do
this, FMSLogo and UCBLogo, for example.
but maybe you don't need it, because you can store definitions
in variables, whose names are the "singlets"
to startup
question [first part?]
make "p1 answer
question [last part?]
make "p2 answer
question [definition?]
make "def answer
make (word :p1 :p2) :def
question [full word?]
make "full answer
ifelse name? :full [
announce thing :full
] [
announce [hasn't been defined yet]
]
end
Daniel
OpenWorld Learning
Previous by thread:
a procedure to write procedures
Next by thread:
MIA, Ask an Expert: move with arrows
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.
|