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

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

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



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