Page 837 - ExtendSim User Guide
P. 837

Menu Commands and Toolbars 811
Edit menu
☞ See the Find and Replace block (Utilities library) for additional block search capabilities, including the ability to find a dialog value and replace it with another value.
Find Again
Repeats the most recent find operation using the same search string.
Replace
Replaces the currently selected text with the text in the Replace with: edit box from the Find dialog. (Note that you can select text directly, in which case the text contained in the Search for: box in the Find dialog may not be the same as the text you have selected and are replac- ing.) If there is no text in the Replace with: edit box, the selected text is deleted.
Replace, Find Again
Replaces the currently selected text with the contents of the Replace with: box in the Find dia- log, then performs another Find command. Note that, if there is no text in the Replace with: edit box, the selected text is deleted.
Replace All
Replaces every instance of the text in the Search for: box with the text in the Replace with: edit box in the Find dialog.
You cannot undo a Replace All command, so use it with caution.
Enter Selection
Chooses the selected text to be the search string. This puts the text in the Search for: edit box of the Find dialog and also determines the search string to be used for the Find Again command. This is useful if you want to find the next instance of some text that is already in the code.
Create/Edit Dynamic Link
Links a block’s parameter field or data table to an internal data structure (ExtendSim database or global array). This action creates a two-way dynamic link between the data structure and the dialog item. Dialog parameters can be linked to a cell in a global array or database table; dialog and plotter data tables can be linked to a global array or database table. Although you can link data tables to a database table, you cannot link an individual cell in a data table to a cell in a database.
☞ The Create/Edit Dynamic Link command is only used for linking parameters and tables to internal data structures. Use the DDE link commands, discussed at “Paste DDE Link (Win- dows only)” on page 813, to link parameters and cells to external applications
When you give the Create/Edit Dynamic Link command, a dialog appears with a popup menu to select the data structure. Depending on the structure selected, other options are presented. To delete a dynamic link, click the linked parameter or select the linked data table and give the Create/Edit Dynamic Link command. In the dialog, choose Delete Link.
The command is equivalent to right-clicking the dialog item and choosing Create/Edit Dynamic Link, or (for a data table) clicking the Link button. Dynamically linked parameters are outlined in light blue. Dynamically linked data tables display the words DB (database) or GA (global array) in their upper left corner. For more information, see “Dynamic linking to internal data structures” on page 737.
.☞ Another type of internal data source is a dynamic array, which is implemented through a block’s code. You cannot use the Create/Edit Dynamic Link command to link to a dynamic
Appendix


































































































   835   836   837   838   839