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

Re: LOGO-L> deleting variable



This probably depends on which logo you use but here is
how in MSWLogo does it (some of which overlaps with UCBLogo).

make "x 1
show :x
1
erase [[] [x] []] ; Long form
show :x
x has no value

make "x 1
show :x
1
ern "x ; Short form
show :x
x has no value

Also if you use EDALL and delete the "MAKE"'s from the bottom
they will be deleted from the workspace when you save the edit
session.

ERALL deletes everything.

If this is a run time issue consider using

LOCAL or LOCALMAKE which basically deletes the definition
automatically when it goes out of scope (when the procedure that
defined it STOPs or OUTPUTs).

-----Original Message-----
From: deer@y.net.ye <deer@y.net.ye>
To: Logo mailing list <logo-l@gsn.org>
Date: Sunday, March 29, 1998 10:44 AM
Subject: LOGO-L> deleting variable


>Hello,
>After I "MAKE" a global variable, how do I delete it?
>
>Thanks for your help,
>Soetji
>
>
>---------------------------------------------------------------
>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.
>

---------------------------------------------------------------
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