[MWForum]Re: presentation

Daniel Ajoy mwforum@lists.mathcats.com
Mon, 18 Oct 2004 19:39:07 -0500


On 18 Oct 2004 at 16:05, KENT.SALL@spps.org wrote:

> Daniel,
> 
> I assume that in restore.pm I am to replace "project with my projects 
> name.  However, when I do this I get an error message that says get does 
> not like that input.  Can a project "get" itself?
> 
> Kent
> 

Hi Kent,

No. In fact that "get" instruction means:
"if the current project is not in presentation mode..."

You should not replace the word "project with the name of some
procedure. You could use the following program structure:


to startup
forever [restore.pm]

when ["` = readchar] 
[cancel [restore.pm]]

your.startup.procedure
end

to restore.pm
if not get "project "presentationmode? 
[presentationmode]
end

to your.startup.procedure
YOUR STUFF HERE
YOUR STUFF HERE
end



Daniel
OpenWorld Learning
http://mia.openworldlearning.org