The following simple operator is not working:
tem1 = (q + Subscript[WOther, 1])
Z[w_] = tem1 /. { Subscript[WOther, 1] -> w_}
Z[3]
Rule::rhs: Pattern w_ appears on the right-hand side of rule Z[w_]->q+w_.
q + w_
q + Pattern[3, _]
I also tried using a module, but that is
creating a similar problem. I suspect that the use of the
underscore variables as a parameter of the procedure is conflicted
with the underscore-pattern variable.
Dr. Laurence Leff Associate Professor of Computer Science,
Western Illinois University, Macomb IL 61455 on sabbatical