The Flow Icons
These icons in general just effect the flow of the script. They will be described in order of increasing complexity.
This just makes a
"ding" sound. Wake up.
This icon stops the
script whenever it is encountered. This gives you a chance to look over what
has been computed so far and to continue by clicking the space-bar or the "Continue"
button. You can rearrange the script flow while it is stopped, but be aware
that execution will continue with that icon which originally followed the hold
icon.
![]() |
![]() |
This icon delays execution for an amount of time that you have previously entered into a window like the one at the left. The time can any floating point number. This is so that you can slow down execution at some points long enough to see and understand the output. |
To insert an existing script into your script insert this icon into the flow
and supply the name of the existing script by double clicking on the icon. The
inserted script will be loaded when needed but will not appear in the window.
It will run out of sight and nearly all of its actions will be act as though
you had loaded and run from the main script window. If you are making a script
in which you want to periodically reset a batch or distances in a direct propagation
or reset a sequence for rescale, or even change the file used by these icons,
include the changing icon in a sub-script and each time the script is called
the source file will be loaded and re-initialized.
![]() |
![]() ![]() |
You connect this icon into a flow of execution
like any other. You then connect this to an alternative path with a green
"alt. flow" path. The upper number at the left is the number of
times this icon will be passed before it branches.If this is placed at the
end of a loop you must remember that the loop will be executed one more
time than the count. If the flow after the branch returns to the icon it
will branch to the alternate path the number of times in the lower box.
It then returns to the original path and starts counting again. If you don't
make a green "alt flow" connection execution will just stop; so
you can use this for count-down. You will see a little number on the icon
telling you how many more passes until a branch occurs. The empty check boxes and fields on the right edge are to make it possible to enter a symbol to the right of the check box which, when the check box is checked, will be read from a symbol table icon. That icon is explained below. The lowest check box and yellow field is so that you can make a calculated branch if the value assigned to the symbol in that box becomes negative then the green branch line will be taken. This calculation can be done in fields 1 to 6 of the rescale icon ![]() If you change the value in either of the count down boxs while a loop is being counted with this branch icon, that part of the count will begin again from the new value. |
![]() |
![]() |
This window, the graph window, and the rescale windoware the only windows associated with script icons that can be left open while the script is running. The reason is so that you can watch the numbers change in the window as a calculation progresses and in the case of the rescale make changes on the fly. This window as you can see is rather complex. It fits into regular flow; it can cause a branch to an "alt flow" green line, and it can export data along a "data flow" red line. You can use any combination of these properties you wish. Peak Finding Every time the icon is executed it finds the highest peak in the aspect selected at the left. The height and location are displayed in "the peak" box. Exporting numbers The position of the relevant peak found by this icon can be used to move the location of that peak to the center. (sliding the whole array with wrap around). Just connect this icon to a "move" icon and it will happen.![]() ![]() |
Bitmap Export Since it is occasionally useful to have a mask showing the location of the highest peak, checking the box at the top left causes one to be made. If this is connected to a "clip-paste" icon via a red "data flow" line, the binary map can be pasted into the screen buffer (not directly into the big array). To actually put the dot into the big array use the "enter 1-0" icon after pasting it into the screen buffer. Calculated Branching The options are in the "Branching by alt-flow arrow" box. We assume there is a number in the box. When the icon is executed and a peak value found it can be compared to the number and depending which of the top two boxes are checked the path of execution may branch. If there is such a branching you can choose (by checking the bottom box) to replace the number in the text box with the new peak value which will then be used in the next comparison. |
![]() |
![]() |
This window has a table of numbers provides a central location where you can enter numbers that can be used by several other icons. For example:
![]() Another example is the "rescale" ![]() ![]() ![]() Fields 1-6 of the "Quick Calc." plane are special if a symbol is defined in one of these fields by a statement such as "del = step/4",and the preceding check box is checked, the symbol "del" would be defined or in this case changed to a new value. |
When this icon is executed this table becomes the table all relevant icons will look to it for values. If you are using symbols as counters, be sure to set the appropriate symbol value with a "Rescale" icon before the start of any loop. When another table icon is executed all icons needing values will look to that new table. [Don't do this.] So in general just have one "Symbol Defs" icon and put it right after the "start" icon. If you want to change values or have special values in a sub-script use a "rescale" icon to define these values (with checked box in rescale icon) they will be added to the list in the parent script and will be available to all icons both in and out of the sub-script. |