| Author |
Comment/Response |
CCOsborn
|
11/12/12 1:56pm
Check this out:
funcTest[list_List, str_String, count_Integer] := list[[count]] = str
list1={a,b}
funcTest[list1,"Help",1]
Results in:
{a, b}
Set::setps: {a,b} in the part assignment is not a symbol. >>
Yet,
list1[[1]]="Help!!"
{Help!!,b}
Works. What is the problem?
URL: , |
|