day05_setv: Set value

Description Usage Arguments

View source: R/day05.R

Description

takes value and puts it into right place in array returning updated array

Usage

1
day05_setv(value, mode, pointer, base, array)

Arguments

value

parameter value

mode

parameter mode (read from array or show exact value)

pointer

pointer to element in array or exact value

base

relative base of pointer for parameter mode 2

array

array of intcodes


EvgenyPetrovsky/aoc2019 documentation built on Jan. 9, 2020, 2:40 a.m.