Typing code into the Commander Input Box does not save your code. It just runs the command you typed in. To save your "code" you need to define procedures that contain your code and then save those definitions to the disk. You define procedures by entering something like this in the Commander Input Box. EDIT "HELLO This brings up an editor with an empty definition for HELLO (if it did not already exist). Now put your code between the TO HELLO line and the END line. Example: TO HELLO PRINT "GoodDay END Now exit the editor and save it. Now run HELLO by entering HELLO in the Commander Input Box followed by Execute button or <Enter> key. Just like you would any logo command. HELLO Goodday You've just extended the logo language by adding a new command to logo called HELLO. Now make a change EDIT "HELLO TO HELLO :msg PRINT :msg END Exit the editor, save it and run it again HELLO "Goodbye Goodbye Now it is NOT saved to the disk drive yet for another days usage. SAVE "HELLO.LGO BYE Start logo again and reload the definitions you saved. LOAD "HELLO.LGO Now you can edit it or run it. You can also use EDALL instead of EDIT which will bring up all your procedure definitions. If you typed a bunch of "code" into the edit box that you want to create a procedure out of. Then select the text with the mouse and hit <CTRL-C> which copies the code to the clipboard. Now open up the editor (EDALL) and paste the text into a new procedure (bewteen a TO line and END Line). Usually when you do this you tend to clean up the code you copied. If you use EDALL and delete a definition from the editor that definition will be removed. What You Edit Is What You Get. You can also delete a definition from the commander or File Menu. ERASE "HELLO Note SAVE, LOAD, EDIT, EDALL and ERASE can all be done through the file menu. Save and load tend to be easiest through the menu while issuing EDALL from the commander input box is all you need for all procedure maintainance. roger carberry wrote: > > I have just started using logo in the school where I teach. I am using > MSWlogo. I am having some difficulty in finding how to delete or edit code > I have already typed in to the input box at the bottom of the screen. What I > am doing at the moment is closing down the app and starting over. There must > be an easier way. Is there anyone out there who knows how I can accomplish > this > thanks > roger > > --------------------------------------------------------------- > 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. -- =============================================================== 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