|Setup Data Structures
|Create or open/edit an existing data structure file. See Chapter 16, Database Setup for instructions on how to setup a data structure in SheerPower.
|Create an .SPRUN program file (like an .EXE) where the source code is hidden from the end-user
|Disable or re-enable the Deployment Password dialog box to appear each time you click on Deploy.
|Run the current SheerPower program file.
|Launch a new instance of the console window.
|Change System Settings
|Options to change a variety of settings within SPDEV. See Section H.6.1, Change System Settings for details.
|Keystroke Function Mappings
|Customize the keystroke mappings of your keyboard when in SPDEV. See Appendix F, Keystrokes for Sheerpower Rapid Development Environment for a complete listing of all SheerPower special editing keystrokes.
|Name, Initials and Company
|Enter your Name, Initials and Company name inside these fields. This information will be used when creating new programs using the SPDEV program template (GOLD/P).
|Enter in the name of the PROJECT you want set to be the default.
|Choose either block or line style cursor.
|You can enable SPDEV to wrap lines of code/text at a specific number of characters. The default is set to 78 characters.
|Paste button on mousewheel
|Enable the mousewheel to act as a paste button.
|Suppress Program Headers
|Disables the automatic creation of a program template when creating a new .SPSRC file
|Show versions in open-file dialog
|Display the backup file versions in the Open-File dialog box. SPDEV backs up the last 3 saved versions of your files by inserting a -1, -2, or -3 behind the file name. For example, program.spsrc would have 3 saved versions called program.spsrc-1, program.spsrc-2 and program.spsrc-3 stored. You can go back to a prior version should there be any errors or unwanted changes in the current file.
|Create file versions
|Enable/Create backup file versions.
|Ctrl+Ins toggle Insert/Overstrike
|Cause [Ins] (Insert) to be active only when [Ctrl] is pressed first.
|Automatically check for updates on startup
|Enable SheerPower to check for program updates automatically when you start the program SPDEV.
|Marks the lines where words or phrases are "found" in a file (using the FIND function) with a binocular icon.
|Ignore Caps Lock
|Disable Caps Lock on your keyboard when editing files in SPDEV.
|Clean up temp files
|An advanced setting. Always leave this checkbox "checked" unless you are working with SheerPower technical support and they require you uncheck this setting.
|Open dialog box to enter in custom expansions. See Section H.6.1.1, Expansions for details.
|Open dialog box to enter in custom abbreviations.
Expansions can be used to speed up programming in SheerPower. To create an expansion, click on Options in the SPDEV toolbar, then choose Change System Settings. The Settings dialog box will appear. Click on the Expansions... button.
Inside the Maintain User Expansions dialog box in the top empty fields you can type in the expansion code and what it 'expands' to. For example:
rc routine check_incoming_email
Then click on the [Add] button.
Once the expansion is added in you can Delete or Change it by clicking on either the [Delete] button or the [Change] button.
To use the expansion inside any type of file in SPDEV, simply type in the expansion code, then press the [F9] key on your keyboard.
rc --> press F9 --> routine check_incoming_email
You can insert "\n" inside the expansion if you define the entire expansion as a literal string. For example, to insert:
print '1' print '2'
The expansion would be:
print '1'\nprint '2'
To insert new line codes outside of literals, use the token newline$. For example, to insert:
print '1' print '2'
The expansion string would be:
"print '1'" + newline$ + "print '2'"
Similarly, tab$ inserts tabs.
Custom abbreviations can also be programmed into SPDEV to make programming repititious code or text faster. To add a custom abbreviation, click on Options in the SPDEV toolbar, then select Change System Settings. The Settings dialog box will appear. Click on the Abbreviations... button. The Maintain User Abbreviations dialog box will appear.
Inside the empty top fields of the dialog box you can enter in the abbreviation code on the left.
pu print using
Then click on the [Add] button.
Once the abbreviation is added in you can Delete or Change it by clicking on either the [Delete] button or the [Change] button.
To use the abbreviation inside any type of file in SPDEV, simply type in the abbreviation, followed by a period ".", then press the [Tab] key on your keyboard.
pu. --> press Tab --> print using
SheerPower Rapid Development Environment has many keystrokes mapped to simplify and speed up program creation and file editing. A 'mapped keystroke' means that the regular function of a certain key may not perform the same function while in SheerPower Rapid Development Environment. For example, KP0 - means the number 0 (zero) in the numeric keypad of a keyboard. KP stands for keypad. In other programs, KP0 will print a 0 (zero). In SPDEV, KP0 moves the cursor to the beginning of the next line. At the end of a file, it will create a new line at the bottom of the file.
For a complete listing of specially mapped keystrokes in SPDEV, see Appendix F, Keystrokes for Sheerpower Rapid Development Environment.
SPDEV allows you to customize your keyboard map to suit your specific needs and style of programming and editing. To edit the keymap, click on Options in the SPDEV toolbar, then select Keystroke Function Mappings. The Choose a key dialog box will appear.
To map a key, click on the key you want to map inside the keyboard image. Then click on the Map this key button.
To map one of the "normal" letter keys on the keyboard you must use one of the following modifiers:
The Map this key dialog box will appear. You can choose to map the keystroke to a particular function from the list displayed, or enter a text string or macro number.
When you have chosen what you want to map the keystroke to, click on the Map it button. You can then map a different keystroke, or click on the Save and Exit button to save your keymap changes and exit the dialog box.
At anytime you can reset a single keystroke or the entire keymap back to the default keymap by clicking on the Reset key or Reset All button.
You must always click on the Save and Exit button to save any changes that you made.
In SPDEV you can assign a BYTE VALUE to any keystroke. Click on Options in the SPDEV toolbar, then select Keystroke Function Mappings.
Place a checkbox beside the modifier (GOLD/ALT/CTRL) you want to use, then click on the letter that you want to map the byte value to. Now click on the Map this key button. The Map this key dialog box will appear.
Inside the Send text: field, type in the byte value that you want to assign to the keystroke. For example, to generate a form feed:
Send text: \012
If you want to generate a BACKSLASH, you would:
Send text: \\ or Send text: \092