Joined: 16 Jun 2003
Location: Kraków, Poland
[*]Concatenating things with macros may change the results.
Changing between single and double quotes has no effect on macros, because both methods lead to the creation of identical "quoted string" token and macros operate on tokens, not original text. The only real difference is the one mentioned by zhak, that you use can freely use a single quote inside a string enclosed with double ones, or vice versa.
The only real difference is the one mentioned by zhak
Well, another difference is that the single quote is allowed in numeric symbols, while the double quote is not, although none of these forcefully starts a new symbol and both can therefore be freely used in non-leading positions of other symbols such as constant names. They are treated then as different characters, of course (a"b = 1 defines a constant other than a'b = 1).
P.S. And the string-enclosing quote can also be used inside the string if put twice in succession.
_________________ Faith is a superposition of knowledge and fallacy
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum