Mathematica 9 is now available
Student Support Forum
Student Support Forum > General > > "Function Fun"

Post Reply:
Email Address:

Please send email when my message is replied to.

Url (optional):
Message: view original message?
Attachment (optional):
Please answer this:2+2 =

Original Message (ID '125247') By Michael:
Your function call is equivalent to {a, b}[[1]] = "Help!!" The head {a,b} is not a symbol. Try instead funcTest[list_, str_String, count_Integer] := list[[count]] = str; SetAttributes[funcTest, HoldFirst]; list = {a, b}; funcTest[list, "Hi", 1]; list