The PUT method of VPGL Language set the value to the target array/dictionary.
PUT takes 3 inputs or 2 input with option, and emits 1 output. Input 0 is an array or dictionary. Input 1 or option is the position/key to set. Input 3 or Input 2(when it takes option) is a value to be set.
In array case, PUT sets the value to the array at specified position, replaced value is dicarded, then emits the rewritten array to output 0.
In dictionary, PUT sets the key-value pair to the dictionary. If this setting is replacing the pair already exists, the old value is discarded. Then PUT emits the updated dictionary to output 0.