> hmmm... I'm using {$mode objfpc} > I'll change it and see it that works. the mode doesn't matter for ansistrings in your own unit/program. Only the $H+ and H- switch and -Sh commandline option. Peter