Hi there,
I'd like to update a particular entry in a sequence which is stored as a value of a table, but get the following error:
"Error: for a 'var' type a variable needs to be passed"
Can somebody please explain what the error message stands for?
Thank you.
import Tables
var aaa = initTable[int,seq[int]]()
var bbb : seq[int] = @[0,1,2,3,4]
aaa[1]=bbb
aaa[1].add(5) #) Error: for a 'var' type a variable needs to be passed