Steven G. Johnson
unread,Dec 21, 2012, 11:42:29 PM12/21/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to juli...@googlegroups.com
Simple question here, I just couldn't find it in the manual.
How do you concatenate symbols, e.g. make :ab from :a and :b? "*" works
for strings but not for symbols.
More specifically, I want to do this in a macro:
for f in (:a,:b,:c)
@eval begin
$(f) = ...
$(f * :_2) = ...
end
end
and have it define a, b, c and also a_2, b_2, and c_2.
Thanks!