Editing
Saving procedures
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
As you create your procedures they are stored in the memory in Smart Box, but they are lost when the power is switched off. You can save your procedures to the disk on your PC so that they can be recalled at a later date. With Smart Move you can save individual procedures or save all the procedures you create as a group. To save all procedures together type SAVE followed by a filename. The filename must be different from any of the procedure names you have used when you are saving a number of procedures together. To save an individual procedure type SAVE followed by a filename followed by the name of the procedure you wish to save. The file name and procedure name can be the same when you are saving an individual procedure. The following example presumes that you have created three procedures: flash, FlashThemAll and lights. (To see a list of the procedures you have created type LIST < Enter >) === SAVE project saves all the procedures in memory under the filename project. === {| |- style="vertical-align:top;" |SAVE project [[File:Tutorial-Saving-Project.svg|none|300px]] | Procedure: flash FOR 5 TIMES SWITCH ON OUTPUT 1 WAIT 1 Procedure: FlashThemAll LET number = 0 FOR 5 TIMES PRINT number SWITCH ON OUTPUT number Procedure: lights flash FlashThemAll |} === SAVE flash flash saves the procedure flash as flash on the disk. === {| |- style="vertical-align:top;" |SAVE flash flash [[File:Tutorial-Saving-Procedure-Flash.svg|none|300px]] | Procedure: flash FOR 5 TIMES SWITCH ON OUTPUT 1 WAIT 1 SWITCH OFF OUTPUT 1 WAIT 1 NEXT |} === SAVE FlashAll FlashThemAll saves the procedure FlashThemAll as FlashAll on the disk. === {| |- style="vertical-align:top;" |SAVE FlashAll FlashThemAll [[File:Tutorial-Saving-Procedure-FlashAll.svg|none|300px]] | Procedure: FlashThemAll LET number = 0 FOR 5 TIMES PRINT number SWITCH ON OUTPUT number WAIT 1 SWITCH OFF OUTPUT number WAIT 1 LET number = number + 1 NEXT |} The filename is limited to 8 characters so you will have to abbreviate long procedure names in this way when you save them. [[Category:Tutorial]]
Summary:
Please note that all contributions to Smart Box may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Smart Box:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information