Yehuda Katz wrote: > > Hi, > > Here are 5 items from my private wish list, concerning MSWLogo: > > Eliminating the blinking cursor while a program is running; > Enabling change of file name without exiting Logo; What do you mean by this? Do you know what ERALL does? Menu->File->New does the same thing. You could write simple function that does ERALL followed by a LOAD. > Moving RESET to the library, and replacing its button with EDALL; I don't like the idea of removing RESET but adding EDALL is a good idea since you do it so often. > Mentioning the current file name at the top of the screen; This is a good point, but something I've always ignored because it can handle multiple files and loads. I suppose what ever is last loaded could be on the title. But keep in mind this would break code that uses window titles (like SETFOCUS, ICON, SETWINDOW etc.). > Having the order of the procedures in the editor unchanged on > re-entering it. Actually Brian has a workaround for that in UCBLogo 4.5 which I need to investigate. I think you could even do what he did in straight MSWLogo code. Basically he wrote an "EDITLOAD" command. He made the "FILE" the master copy rather than the workspace. That is, you never do a save the workspace to disk, you always edit the file from the disk, save it to disk and then load it. Here is something close written MSWLogo ;;;;;;;;;;;;;;;;;;;;;;;; Start of FILEEDIT ;;;;;;;;;;;;;;;;;;;;;;;;;; to fileedit :file windowfileedit (word :file ".lgo) (list "fileeditdone (word "\" :file ".lgo)) end to fileeditdone :file save "\\nul ; This is to avoid a warning message load :file end bury "fileedit bury "fileditdone ;;;;;;;;;;;;;;;;;;;;;;;; End of FILEEDIT ;;;;;;;;;;;;;;;;;;;;;;;;;; Aren't callbacks cool :-) :-) When the editor exits it calls back logo to say it's done and passes the file name that the editor opened with. Note that the callback has to have the argument :file resolved because when the editor "calls" back the variable :file is long gone. Note however this will defeat the automatic positioning you near an error if an error occurs due to the edit. > > [[Yehuda]] > > _/ _/ _/ _/_/_/_/_/ _/_/_/_/ > _/ _/ _/_/ _/ _/ > _/_/_/ _/ _/ _/ _/ > _/ _/ _/_/_/_/ _/ _/ > _/ _/_/ _/ _/ _/_/_/_/ -- =============================================================== 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