Download introduction - Custom Solutions, Inc.
Transcript
14 Chapter 2 Software Overview If Then End If You cannot delete the THEN or END lines individually. Instead, you must select the IF line and delete it. This will remove all three lines. It will also delete any conditions which might be between the IF and THEN lines (conditions left by themselves would have no meaning). Actions between the THEN and END lines will not be deleted. They can be deleted individually if desired. • You can use Cut, Copy, Paste, and Delete commands from within the Actions Entry Screen. First, select a schedule line, then click the right mouse button to bring up the editing menu. You can also perform the editing functions directly from the keyboard, using the standard Windows editing keys, as shown: Cut Copy Paste Delete = = = = Ctrl+X Ctrl+C Ctrl+V Del Cut functions the same as copying a line, then deleting it. Note that you can only select one line at a time; multiple-line selections are not allowed. Several other things should be noted about how these commands work with "If-Then" and "Wait" statements: If-Then Statements: - To Cut, Copy, or Delete an If-Then statement, select the "If" line. You cannot Cut, Copy, or Delete the "Then", "Else", or "End If" lines individually. When you Cut or Delete an If-Then statement, all associated conditions are deleted as well. Actions within the If-Then statement are not deleted. When you Copy an If-Then statement, the associated conditions and actions are not copied. When you Paste an If-Then statement, the associated "Then", "Else", and "End If" lines are also pasted. No conditions or actions are pasted. Wait Timers: - To Cut, Copy, or Delete a Wait statement, select the "Wait ..." line. You cannot Cut, Copy, or Delete the "End Wait" line. When you Copy a Wait statement, the associated actions are not copied. When you Paste a Wait statement, the associated "End Wait" line is also pasted. No actions are pasted. Toolbar The buttons along the left side of the window are known as the “Toolbar”. • Click on the desired toolbar button to enter a new action or condition. The new line will be added immediately before the line currently selected in the listing window. For example, if you select the first line and then click on the “Flag” button, the Flag action will be inserted as the new first line. The other lines will move down. If no line is selected when you click the toolbar, the new line will be placed at the END of the listing. • Clicking on the toolbar buttons adds a default entry to the listing window and then brings up the desired action/condition entry screen. Each type of action and condition has its own screen. These screens are used to enter the details of the action or condition you want. When you’re done with a new entry, you’ll automatically return to the actions screen and the new action or condition will appear in the listing window.