At 15:53 +0200 7-04-2008, Michele Neri wrote: >FBtoC is slower but could handle correctly the following code: > >dim as container gCont >gCont = "" >gCont += string$( 255, "a") + "test" >print gCont > >FB is faster but emits a string length error for that code. > >In this particular case, when the left term is a container and the >first item in the right term is a string: > >- FBtoC parses each items in the concatenation and add they to a >temp container that is copied to the left term. Actually the temp container must be used only if one of the term at right of the "=" sign is the same as the left term: i.e. gCont += gCont + "ssssss" FBtoC could be adpted to use the temp container only in that case. This way the speed must be the same as FB for the case [2] of RP's example. Michele.