Gerhard Fiedler wrote: >> I'd rather write >> >> strb <-- stra + stru + " more stuff" >> >> than >> >> strb <-- StringConcatenate(stra, stru, " more stuff"); > > So do I, but I fail to understand why this requires that the string > handling is built into the compiler. > > Your preferred syntax looks (in principle) quite similar to the C++ > std::string syntax, where normal string handling is implemented in a > standard library. First, that only works when a language allows user defined operators like C++ does, but most other compiled languages don't. Even then, the compiler only knows that some library routine has to be called to perform whatever the operation is. It doesn't know it's string concatenation and therefore doesn't know as much about the intent of the statement as it would if it was built in. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist