[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOGO-L> Re: tool to extend glossaries



This is pretty "standard" logo and would be true
in all "full" versions of logo that I know of.
Brian, please correct me if I'm wrong on that.

Note in all "full" versions of logo.
THING "gloss is the same as :gloss
This is an easy thing to forget but is
important in really understanding logo.

So what I first tried to do with your
problem was do ::gloss but MSWLogo did not
like that. ::gloss Implies not the "thing"
gloss but the "thing" :gloss points at (names).
Much like Thing vs *Thing in C.

THING THING "Gloss is also valid.

But I went a round about way of constructing
a :Gloss on the fly when I could of functionally done
::Gloss all along but had to use THING :Gloss syntax
instead. Which you could read as:

THING THING "Gloss
or
THING :Gloss
or
RUN (WORD ": :gloss)
or
::Gloss

They are all the same but the last case MSWLogo
did not handle. A small inconsistency bug in
(MSW)Logo in my opinion.

Paul C Dench wrote:
> 
> A belated thanks, George
> 
> Your solution was just what I wanted (needed)
> 
> Obviously MSWlogo requires greater discipline with code than other versions
> of Logo that I have worked with.
> 
> Thanks also for putting me in touch with the bulletin board
> 
> At 12:52 PM 5/23/98 -0400, you wrote:
> >Note you can replace run (word ": :gloss)
> >with thing :gloss which does the same operation.
> >
> >to add :gloss :word
> >ct
> >make :gloss combine :word thing :gloss
> >make :gloss remdup thing :gloss
> >show thing :gloss
> >end
> >
> >
> >

-- 
===============================================================
George Mills
email: mills@softronix.com
http://www.softronix.com
The www page contains some very powerful educational software.
Our single most important investment is our kids.
---------------------------------------------------------------
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.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home