The <hold> block performs the hold function. If the “gate” input is True, then the “out” output is identical to the “in” input; otherwise, the “out” output remains unchanged.
Note that the block chain upstream of the “in” input is evaluated only when necessary—that is, only if “gate” is True.
•« gate » : The default value is False (type bool)
•« in » : The default value is 0 (type int)
•« out » : This is memory; it is a stored variable that can be initialized, which explains the apple-green background color
The type of the “gate” input is bool.
The type of the “in” input can be any type; the “out” output will be of the same type.