Template:How To Make Type Variables: Difference between revisions

Template page
create indirect write variable types thing
 
m fix variable links
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Variables for {{{1}}} can be made using a [[ProtoFlux:Field As Variable|Field As Variable]] which can wrap any [[:Category:Type|type]] (Generic). This can be multiplexed using [[ProtoFlux:Multiplex|Multiplexing]] for using multiple variables into the same input on {{{1}}}. Multiplexing the inputs on {{{1}}} can be useful in modifying a list of variables during a [[ProtoFlux:For|For]] or [[ProtoFlux:While|While]] loop.
[[Type:IVariable`2|Variables]] for {{{1}}} can be made using a [[ProtoFlux:Field As Variable|Field As Variable]] which can wrap any [[:Category:Type|type]] (Generic). [[Type:IVariable`2|Variables]] can also be made by dragging a source of the same wrapped type (ex:Source<String> -> Variable<String>) into any variable input and it will make a [[ProtoFlux:Reference To Output|special converter]] to connect them. This can be multiplexed using [[ProtoFlux:Multiplex|Multiplexing]] for using multiple variables into the same input on {{{1}}}. Multiplexing the inputs on {{{1}}} can be useful in modifying a list of variables during a [[ProtoFlux:For|For]] or [[ProtoFlux:While|While]] loop.

Latest revision as of 18:33, 9 February 2024

Variables for {{{1}}} can be made using a Field As Variable which can wrap any type (Generic). Variables can also be made by dragging a source of the same wrapped type (ex:Source<String> -> Variable<String>) into any variable input and it will make a special converter to connect them. This can be multiplexed using Multiplexing for using multiple variables into the same input on {{{1}}}. Multiplexing the inputs on {{{1}}} can be useful in modifying a list of variables during a For or While loop.