[Tugindia] \@namedef

Manoj Kummini kummini at yahoo.com
Wed Feb 5 15:55:17 CET 2003


Hello.

I have a piece the following piece of code in a file

\def\address#1#2{%
\global\@namedef{addridx@#1}{\theaddrcount}%
\global\@namedef{addr at ss\romannumeral\theaddrcount}{#2}%
\stepcounter{addrcount}}
...
\address{foo1}{1, Foo Bar, Fubar}
...
When I try printing \addridx at foo1 in the text, I get the error that
\addridx at foo is not defined. I changed the code to

\address{foo}{1, Foo Bar, Fubar}

and was able to print \addridx at foo. Can someone explain this?

Manoj.
 

=====
--
Manoj Kummini
http://www.geocities.com/kummini/index.html
12 deg 58 min N, 77 deg 35 min E

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com


More information about the Tugindia mailing list