As a matter of fact you can. An option of 8 did the same as an option of 0 for me under Win98. An option of 0, 1, 2 worked as expected. I did not try an option of 4. I think an option of 1 and 2 are what your looking for. Note this is coded for the Win32 version of MSWLogo and I only tested it under Win98 (I expect Win95 and NT will work the same). to shutdown :level ; Load the User System Kernel dllload "user32.dll ;#define EWX_LOGOFF 0 ;#define EWX_SHUTDOWN 1 ;#define EWX_REBOOT 2 ;#define EWX_FORCE 4 ;#define EWX_POWEROFF 8 show dllcall (list "l "ExitWindowsEx "l 0 "l :level) dllfree end Try: shutdown 0 shutdown 1 shutdown 2 etc. Stryker85@aol.com wrote: > > Are there any MSWLogo commands that can shut down or restart the computer? -- =============================================================== 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