I found another little problem in strings.pas while testing the example program from <SIMEON.9710101739.A@@muahost.cc.keele.ac.uk>:
Since StrNew uses C's strdup() which in turn uses malloc(), you can't use Freemem in StrDispose. Using free() instead works. (There may be other places where such a change is necessary.)
Frank