Page 1 of 1
[Twinsen] Arithmetic Combinator: First input can't set constant
Posted: Fri Aug 18, 2017 11:09 pm
by utoxin
The second input of the arithmetic combinator allows you to set a constant. The first input does not. This means that for certain operations, you have to use a constant combinator to put the constant you need into a signal, and read that in the first input. For example, if I want to do the operation 2^SIGNAL, I have to use a constant combinator to put the number 2 into a virtual signal, and then use that signal to do CONSTANT^SIGNAL.
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
Posted: Fri Sep 29, 2017 1:07 pm
by Twinsen
While more of a feature request, I implemented it since it makes sense.
I made it so both inputs of the Arithmetic Combinator can use a constant.
Implemented in Version: 0.16.0
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
Posted: Mon Oct 02, 2017 6:32 am
by The Eriksonn
is it then so that you can set "each" into the second slot also, so i can for examle do each^each or something?
that would be good.
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
Posted: Mon Oct 02, 2017 8:13 am
by eradicator
Can you make this available on the API too? (In case you didn't already.)
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
Posted: Mon Oct 02, 2017 4:06 pm
by Twinsen
The lua api changed also, you will see the new usage format in the docs.
As far as each^each I don't plan on adding that.
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
Posted: Tue Oct 03, 2017 7:24 am
by The Eriksonn
Twinsen wrote:As far as each^each I don't plan on adding that.
so 100/each wont work either?
aww