single-letter typecasting macros - where defined ?

  • Thread starter Thread starter jdm
  • Start date Start date
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 ?
 
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.
 
Back
Top