I feel like I'm overlooking something obvious.

SCENARIO:

- Suppose I have several nodes, all doing very similar things, based on the $TIME variable

- They all include the same complex math function, but with one minor difference at the end

- - - Node 1: $TIME * (complex math function) + 0.3

- - - Node 2: $TIME * (complex math function) + 1.1

- - - Node 2: $TIME * (complex math function) + 7.8

- The "complex math function" is the same for all the nodes

QUESTION:

- How can I create the "complex math function" one time, and then use it in each of the other functions?

- Can I define my own function?

WHY?

- Especially during the development phase, I made adjustments to that math function, which means I had to edit all three nodes over and over and over again. (I used copy/paste a lot.) It sure would have been nice to make a single edit in one place.

SCENARIO:

- Suppose I have several nodes, all doing very similar things, based on the $TIME variable

- They all include the same complex math function, but with one minor difference at the end

- - - Node 1: $TIME * (complex math function) + 0.3

- - - Node 2: $TIME * (complex math function) + 1.1

- - - Node 2: $TIME * (complex math function) + 7.8

- The "complex math function" is the same for all the nodes

QUESTION:

- How can I create the "complex math function" one time, and then use it in each of the other functions?

- Can I define my own function?

WHY?

- Especially during the development phase, I made adjustments to that math function, which means I had to edit all three nodes over and over and over again. (I used copy/paste a lot.) It sure would have been nice to make a single edit in one place.