Redefining FISH Functions
A FISH function can be redefined. If a name that is already used for an existing function is given on a define line, the code corresponding to the old function is deleted and the new code is substituted. The following are some notes of caution:
The variables used in a function still exist, even if the function is redefined; only the code is deleted. Since variables are global, it is possible that they are used elsewhere.
All calls to the old function will call the new function instead. This includes FISH callback events. Note that this will cause runtime errors if the number of arguments is changed.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Oct 31, 2024 |