single-letter typecasting macros - where defined ?

J

jdm

In the sample code for the SortedList class, I see the use of a string
typecasting macro consisting of a single letter "S". i.e.:

Sortedlist->Add(S"Keyval one", S"Item one");

Now I have deduced that the "S" can be replaced with (String __gc *) and the
code will compile and run just fine. But what I can't find is what exactly
Microsoft calls these macros (I have also seen "L" used the same way) and
where they are all documented. I have just spent over an hour endlessly
circling through my vs.net "help" system trying to find them with keywords
such as "typecasting macros", "string conversion", "data types",
"typecasting shortcuts", etc to no avail. Just endlessly clicking from one
link to another, only to be presented with yet another screen of Redmond
techno-gobbledygook double speak that says nothing and has no examples.

All I want to know is what all the available single-letter typecasting
macros are, and when to use them. Does such a document exist anywhere in
the millions of lines of pointless verbiage in the Microsoft .Net "Help"
System ?
 
J

jdm

Yes, thank you for pointing that out. It took me awhile to realize that
they are actully format specifiers much like in the old printf() function of
yore.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top