[MWForum]removing buttons

Wendy Petti mwforum@lists.mathcats.com
Mon, 1 Dec 2003 22:43:30 -0500


Bob, just change the last line before END to this:

dolist [i :remove_buttons] [remove :i]

and you'll be all set.

The quotation mark precedes the variable when you are defining it.  The
colon precedes the variable when you are calling the value of the variable.

By the way, your procedure outputs the button names to the command center
just before eliminating them.  You might consider eliminating this command:

show :remove_buttons

if you don't really need to know the button names as you're eliminating
them.

Wendy

> -----Original Message-----
> From: mwforum-admin@lists.mathcats.com
> [mailto:mwforum-admin@lists.mathcats.com]On Behalf Of Bob Albright
> Sent: Monday, December 01, 2003 10:15 PM
> To: mwforum@lists.mathcats.com
> Subject: [MWForum]removing buttons
>
>
> With buttons on page 1 the following instructions result in the error
> "dolist does not like remove_buttons as input in start"
>
> The show command does list all the buttons.
>
> to start
> ;remove all buttons
> make "remove_buttons get "page1 "buttons
> show :remove_buttons
> dolist [i "remove_buttons] [remove :i]
> end
>
> Bob
>
> _______________________________________________
> MWForum mailing list
> MWForum@lists.mathcats.com
> http://lists.mathcats.com/mailman/listinfo/mwforum
> Attachments archived at:
> http://www.mathcats.com/mwforum/attachments.html
> To unsubscribe or for administrative questions contact
> mailto:mwforum-admin@lists.mathcats.com
>