Strings are now build as PascalSTring and can be treated like arrays. Fixed Problem with parameters using wrong indices on register j